diff options
author | Vladislav Efanov <VEfanov@ispras.ru> | 2023-05-17 15:52:47 +0300 |
---|---|---|
committer | Luben Tuikov <luben.tuikov@amd.com> | 2023-05-19 09:39:05 -0400 |
commit | aa8bf93101a185b49f83c9137453571a08be6e76 (patch) | |
tree | 8f10982bf81832c56177634121cd75cf4a7d6035 /drivers/gpu/drm/drm_managed.c | |
parent | 1aa7f416175619e0286fddc5fc44e968b06bf2aa (diff) | |
download | lwn-aa8bf93101a185b49f83c9137453571a08be6e76.tar.gz lwn-aa8bf93101a185b49f83c9137453571a08be6e76.zip |
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: c61cdbdbffc1 ("drm/scheduler: Fix hang when sched_entity released")
Signed-off-by: Vladislav Efanov <VEfanov@ispras.ru>
Link: https://lore.kernel.org/r/20230517125247.434103-1-VEfanov@ispras.ru
Reviewed-by: Luben Tuikov <luben.tuikov@amd.com>
Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
Diffstat (limited to 'drivers/gpu/drm/drm_managed.c')
0 files changed, 0 insertions, 0 deletions