Commit b3343230 authored by Jani Nikula's avatar Jani Nikula

drm/i915/gt/uc: drop unused but set variable sseu

Prepare for re-enabling -Wunused-but-set-variable.

Apparently sseu is leftover from commit 9a92732f ("drm/i915/gt: Add
general DSS steering iterator to intel_gt_mcr").
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Reviewed-by: default avatarAndi Shyti <andi.shyti@linux.intel.com>
Reviewed-by: default avatarJouni Högander <jouni.hogander@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/d542f25bffd5a50ff621bee93415a972c7768a2a.1685119007.git.jani.nikula@intel.com
parent 41b611db
...@@ -301,7 +301,6 @@ guc_capture_alloc_steered_lists(struct intel_guc *guc, ...@@ -301,7 +301,6 @@ guc_capture_alloc_steered_lists(struct intel_guc *guc,
const struct __guc_mmio_reg_descr_group *list; const struct __guc_mmio_reg_descr_group *list;
struct __guc_mmio_reg_descr_group *extlists; struct __guc_mmio_reg_descr_group *extlists;
struct __guc_mmio_reg_descr *extarray; struct __guc_mmio_reg_descr *extarray;
struct sseu_dev_info *sseu;
bool has_xehpg_extregs; bool has_xehpg_extregs;
/* steered registers currently only exist for the render-class */ /* steered registers currently only exist for the render-class */
...@@ -318,7 +317,6 @@ guc_capture_alloc_steered_lists(struct intel_guc *guc, ...@@ -318,7 +317,6 @@ guc_capture_alloc_steered_lists(struct intel_guc *guc,
if (has_xehpg_extregs) if (has_xehpg_extregs)
num_steer_regs += ARRAY_SIZE(xehpg_extregs); num_steer_regs += ARRAY_SIZE(xehpg_extregs);
sseu = &gt->info.sseu;
for_each_ss_steering(iter, gt, slice, subslice) for_each_ss_steering(iter, gt, slice, subslice)
num_tot_regs += num_steer_regs; num_tot_regs += num_steer_regs;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment