Skip to content
Commit aa8bf931 authored by Vladislav Efanov's avatar Vladislav Efanov Committed by Luben Tuikov
Browse files

drm/sched: Remove redundant check



The rq pointer points inside the drm_gpu_scheduler structure. Thus
it can't be NULL.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Fixes: c61cdbdb ("drm/scheduler: Fix hang when sched_entity released")
Signed-off-by: default avatarVladislav Efanov <VEfanov@ispras.ru>
Link: https://lore.kernel.org/r/20230517125247.434103-1-VEfanov@ispras.ru


Reviewed-by: default avatarLuben Tuikov <luben.tuikov@amd.com>
Signed-off-by: default avatarLuben Tuikov <luben.tuikov@amd.com>
parent 1aa7f416
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment