diff options
| author | Andrey Strachuk <[email protected]> | 2022-07-19 10:39:54 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-08-16 22:09:47 +0000 |
| commit | bf7f7efbe051a59e9d0710cd26ea05f7ebc411a2 (patch) | |
| tree | fac911853e0aef1245200a6b3d8eebf134239883 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | drm/amdgpu: Add decode_iv_ts helper for ih_v6 block (diff) | |
| download | kernel-bf7f7efbe051a59e9d0710cd26ea05f7ebc411a2.tar.gz kernel-bf7f7efbe051a59e9d0710cd26ea05f7ebc411a2.zip | |
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 <[email protected]>
Signed-off-by: Andrey Strachuk <[email protected]>
Fixes: 7c6e68c777f1 ("drm/amdgpu: Avoid HW GPU reset for RAS.")
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
