Skip to content

Commit b334323

Browse files
committed
drm/i915/gt/uc: drop unused but set variable sseu
Prepare for re-enabling -Wunused-but-set-variable. Apparently sseu is leftover from commit 9a92732 ("drm/i915/gt: Add general DSS steering iterator to intel_gt_mcr"). Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com> Reviewed-by: Jouni Högander <jouni.hogander@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/d542f25bffd5a50ff621bee93415a972c7768a2a.1685119007.git.jani.nikula@intel.com
1 parent 41b611d commit b334323

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

drivers/gpu/drm/i915/gt/uc/intel_guc_capture.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,6 @@ guc_capture_alloc_steered_lists(struct intel_guc *guc,
301301
const struct __guc_mmio_reg_descr_group *list;
302302
struct __guc_mmio_reg_descr_group *extlists;
303303
struct __guc_mmio_reg_descr *extarray;
304-
struct sseu_dev_info *sseu;
305304
bool has_xehpg_extregs;
306305

307306
/* steered registers currently only exist for the render-class */
@@ -318,7 +317,6 @@ guc_capture_alloc_steered_lists(struct intel_guc *guc,
318317
if (has_xehpg_extregs)
319318
num_steer_regs += ARRAY_SIZE(xehpg_extregs);
320319

321-
sseu = &gt->info.sseu;
322320
for_each_ss_steering(iter, gt, slice, subslice)
323321
num_tot_regs += num_steer_regs;
324322

0 commit comments

Comments
 (0)