]> git.baikalelectronics.ru Git - kernel.git/commitdiff
i915/gvt: remove unused xen bits
authorChristoph Hellwig <hch@lst.de>
Sat, 4 Apr 2020 09:40:58 +0000 (11:40 +0200)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Tue, 14 Apr 2020 08:40:42 +0000 (16:40 +0800)
No Xen support anywhere here.  Remove a dead declaration and an unused
include.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20200404094101.672954-4-hch@lst.de
drivers/gpu/drm/i915/gvt/gvt.c
drivers/gpu/drm/i915/gvt/hypercall.h

index a6c4fcefa83b23d578d1b0c7a06583c749cfd7d2..ed7be1b39a06f78cc189734e082dd579ade05f54 100644 (file)
@@ -31,7 +31,6 @@
  */
 
 #include <linux/types.h>
-#include <xen/xen.h>
 #include <linux/kthread.h>
 
 #include "i915_drv.h"
index b17c4a1599cd57872191084a9fa7d9c3140d326b..b79da5124f831cc4f4ad843545b9b031d0643529 100644 (file)
@@ -79,6 +79,4 @@ struct intel_gvt_mpt {
        bool (*is_valid_gfn)(unsigned long handle, unsigned long gfn);
 };
 
-extern struct intel_gvt_mpt xengt_mpt;
-
 #endif /* _GVT_HYPERCALL_H_ */