[Intel-gfx] [PATCH] drm/i915: Fix build with WERROR=y
Ville Syrjala
ville.syrjala at linux.intel.com
Mon Mar 13 09:39:13 UTC 2023
From: Ville Syrjälä <ville.syrjala at linux.intel.com>
Remove the unused i915 variable to fix the build with WERROR=y.
Cc: Lucas De Marchi <lucas.demarchi at intel.com>
Fixes: d1b3657fb5b6 ("drm/i915: Remove redundant check for DG1")
Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
drivers/gpu/drm/i915/gt/intel_workarounds.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/gt/intel_workarounds.c b/drivers/gpu/drm/i915/gt/intel_workarounds.c
index 90af399cb0a3..e7ee24bcad89 100644
--- a/drivers/gpu/drm/i915/gt/intel_workarounds.c
+++ b/drivers/gpu/drm/i915/gt/intel_workarounds.c
@@ -1476,8 +1476,6 @@ gen12_gt_workarounds_init(struct intel_gt *gt, struct i915_wa_list *wal)
static void
dg1_gt_workarounds_init(struct intel_gt *gt, struct i915_wa_list *wal)
{
- struct drm_i915_private *i915 = gt->i915;
-
gen12_gt_workarounds_init(gt, wal);
/* Wa_1409420604:dg1 */
--
2.39.2
More information about the Intel-gfx
mailing list