Skip to content

Commit 690c3df

Browse files
blitzzhenyw
authored andcommitted
drm/i915/gvt: remove unused vblank_done completion
This variable is used nowhere, so remove it. Cc: Zhenyu Wang <[email protected]> Acked-by: Zhenyu Wang <[email protected]> Signed-off-by: Julian Stecklina <[email protected]> Signed-off-by: Zhenyu Wang <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 0178f4c commit 690c3df

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

drivers/gpu/drm/i915/gvt/gvt.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,6 @@ struct intel_vgpu {
226226
struct mutex dmabuf_lock;
227227
struct idr object_idr;
228228

229-
struct completion vblank_done;
230-
231229
u32 scan_nonprivbb;
232230
};
233231

drivers/gpu/drm/i915/gvt/kvmgt.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1767,8 +1767,6 @@ static int kvmgt_guest_init(struct mdev_device *mdev)
17671767
kvmgt_protect_table_init(info);
17681768
gvt_cache_init(vgpu);
17691769

1770-
init_completion(&vgpu->vblank_done);
1771-
17721770
info->track_node.track_write = kvmgt_page_track_write;
17731771
info->track_node.track_flush_slot = kvmgt_page_track_flush_slot;
17741772
kvm_page_track_register_notifier(kvm, &info->track_node);

0 commit comments

Comments
 (0)