diff options
author | Zhenyu Wang <zhenyuw@linux.intel.com> | 2018-12-07 16:16:52 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2018-12-10 15:12:19 +0800 |
commit | a2b8419a9e2975d19c0cd85f4912f2873bd974e0 (patch) | |
tree | 38d19621393ed8766c616aef56de863071dab8ef /drivers/gpu/drm/i915/gvt/hypercall.h | |
parent | 2313b1897f574e036635b25c501ec5e008407241 (diff) | |
download | lwn-a2b8419a9e2975d19c0cd85f4912f2873bd974e0.tar.gz lwn-a2b8419a9e2975d19c0cd85f4912f2873bd974e0.zip |
drm/i915/gvt: remove unused parameter for hypervisor's host_exit call
The parameter 'void *gvt' is not used and required for hypervisor's
exit call. Even for non-merged Xen hypervisor support. So just remove it.
Reviewed-by: Yuan, Hang <hang.yuan@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/hypercall.h')
-rw-r--r-- | drivers/gpu/drm/i915/gvt/hypercall.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/gvt/hypercall.h b/drivers/gpu/drm/i915/gvt/hypercall.h index 5af11cf1b482..e49a9247ed78 100644 --- a/drivers/gpu/drm/i915/gvt/hypercall.h +++ b/drivers/gpu/drm/i915/gvt/hypercall.h @@ -39,7 +39,7 @@ */ struct intel_gvt_mpt { int (*host_init)(struct device *dev, void *gvt, const void *ops); - void (*host_exit)(struct device *dev, void *gvt); + void (*host_exit)(struct device *dev); int (*attach_vgpu)(void *vgpu, unsigned long *handle); void (*detach_vgpu)(unsigned long handle); int (*inject_msi)(unsigned long handle, u32 addr, u16 data); |