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 a6c4fce..ed7be1b 100644 (file)
@@ -31,7 +31,6 @@
  */
 
 #include <linux/types.h>
-#include <xen/xen.h>
 #include <linux/kthread.h>
 
 #include "i915_drv.h"
index b17c4a1..b79da51 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_ */