]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915/gvt: remove unused vblank_done completion
authorJulian Stecklina <julian.stecklina@cyberus-technology.de>
Thu, 9 Jan 2020 17:13:55 +0000 (19:13 +0200)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 20 Jan 2020 06:38:27 +0000 (14:38 +0800)
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
drivers/gpu/drm/i915/gvt/gvt.h
drivers/gpu/drm/i915/gvt/kvmgt.c

index 0081b051d3e0929c20a01816cdc550ac4029a54a..9fe9decc0d86077bc1c1e2269bfb315344676d15 100644 (file)
@@ -226,8 +226,6 @@ struct intel_vgpu {
        struct mutex dmabuf_lock;
        struct idr object_idr;
 
-       struct completion vblank_done;
-
        u32 scan_nonprivbb;
 };
 
index a699ecade3fcf675b5e60ac63ca2b3e354ec1a0d..4177e9e8179fe05a899ed299ef0a23d561ad7686 100644 (file)
@@ -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);