mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 09:36:22 +02:00
drm/xe/multi_queue: Remove redundant assignment in guc_exec_queue_run_job
The 'killed_or_banned_or_wedged = true' assignment is redundant since the variable is never read after that point. Assisted-by: GitHub Copilot:claude-sonnet-4.6 Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com> Reviewed-by: Matthew Brost <matthew.brost@intel.com> Link: https://patch.msgid.link/20260508194428.61819-5-niranjana.vishwanathapura@intel.com
This commit is contained in:
parent
09b3998429
commit
00cf90125b
|
|
@ -1216,10 +1216,8 @@ guc_exec_queue_run_job(struct drm_sched_job *drm_job)
|
|||
if (xe_exec_queue_is_multi_queue_secondary(q)) {
|
||||
struct xe_exec_queue *primary = xe_exec_queue_multi_queue_primary(q);
|
||||
|
||||
if (exec_queue_killed_or_banned_or_wedged(primary)) {
|
||||
killed_or_banned_or_wedged = true;
|
||||
if (exec_queue_killed_or_banned_or_wedged(primary))
|
||||
goto run_job_out;
|
||||
}
|
||||
|
||||
if (!exec_queue_registered(primary))
|
||||
register_exec_queue(primary, GUC_CONTEXT_NORMAL);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user