]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/i915: remove intel_vgpu_opregion::mapped
authorJiri Slaby (SUSE) <jirislaby@kernel.org>
Fri, 16 Feb 2024 06:53:18 +0000 (07:53 +0100)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 19 Feb 2024 20:35:49 +0000 (15:35 -0500)
intel_vgpu_opregion::mapped is not used since commit 367748066eeb
(drm/i915/gvt: remove enum hypervisor_type). Drop it.

Found by https://github.com/jirislaby/clang-struct.

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Cc: intel-gfx@lists.freedesktop.org
Acked-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240216065326.6910-14-jirislaby@kernel.org
drivers/gpu/drm/i915/gvt/gvt.h

index b6fe17f1a16ffcc15ed54699477b233cb4933b26..8e5d696fc79cf6154c89ab4371fd077403bd8496 100644 (file)
@@ -118,7 +118,6 @@ struct intel_vgpu_irq {
 };
 
 struct intel_vgpu_opregion {
-       bool mapped;
        void *va;
        u32 gfn[INTEL_GVT_OPREGION_PAGES];
 };