diff options
author | Andrey Strachuk <strochuk@ispras.ru> | 2022-07-19 13:39:54 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-08-17 01:09:47 +0300 |
commit | bf7f7efbe051a59e9d0710cd26ea05f7ebc411a2 (patch) | |
tree | fac911853e0aef1245200a6b3d8eebf134239883 /MAINTAINERS | |
parent | 1af9add1f1512b10d9ce44ec7137612bc81ff069 (diff) | |
download | linux-bf7f7efbe051a59e9d0710cd26ea05f7ebc411a2.tar.xz |
drm/amdgpu: remove useless condition in amdgpu_job_stop_all_jobs_on_sched()
Local variable 'rq' is initialized by an address
of field of drm_sched_job, so it does not make
sense to compare 'rq' with NULL.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Andrey Strachuk <strochuk@ispras.ru>
Fixes: 7c6e68c777f1 ("drm/amdgpu: Avoid HW GPU reset for RAS.")
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions