Skip to content

Commit

Permalink
drm/i915/gvt: remove unused vblank_done completion
Browse files Browse the repository at this point in the history
This variable is used nowhere, so remove it.

Cc: Zhenyu Wang <zhenyuw@linux.intel.com>

Acked-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Julian Stecklina <julian.stecklina@cyberus-technology.de>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20200109171357.115936-3-julian.stecklina@cyberus-technology.de
  • Loading branch information
Julian Stecklina authored and Zhenyu Wang committed Jan 20, 2020
1 parent 0178f4c commit 690c3df
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions drivers/gpu/drm/i915/gvt/gvt.h
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,6 @@ struct intel_vgpu {
struct mutex dmabuf_lock;
struct idr object_idr;

struct completion vblank_done;

u32 scan_nonprivbb;
};

Expand Down
2 changes: 0 additions & 2 deletions drivers/gpu/drm/i915/gvt/kvmgt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1767,8 +1767,6 @@ static int kvmgt_guest_init(struct mdev_device *mdev)
kvmgt_protect_table_init(info);
gvt_cache_init(vgpu);

init_completion(&vgpu->vblank_done);

info->track_node.track_write = kvmgt_page_track_write;
info->track_node.track_flush_slot = kvmgt_page_track_flush_slot;
kvm_page_track_register_notifier(kvm, &info->track_node);
Expand Down

0 comments on commit 690c3df

Please sign in to comment.