diff options
author | 2024-01-17 06:44:36 -0800 | |
---|---|---|
committer | 2024-01-22 16:55:51 -0500 | |
commit | bf38a4e4ab6833174ba81bd1c13f7620cd920583 (patch) | |
tree | 25b467d57deeb96cf897578879cac0d7b123da08 /drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h | |
parent | drm/amd/pm: enable amdgpu smu send message log (diff) | |
download | linux-rng-bf38a4e4ab6833174ba81bd1c13f7620cd920583.tar.xz linux-rng-bf38a4e4ab6833174ba81bd1c13f7620cd920583.zip |
drm/radeon: remove dead code in ni_mc_load_microcode()
Inside the if block with (running == 0), the checks for 'running'
possibly being non-zero are redundant. Remove them altogether.
This change is similar to the one authored by Heinrich Schuchardt
<xypron.glpk@gmx.de> in commit
ddbbd3be9679 ("drm/radeon: remove dead code, si_mc_load_microcode (v2)")
Found by Linux Verification Center (linuxtesting.org) with static
analysis tool Svace.
Fixes: 0af62b016804 ("drm/radeon/kms: add ucode loader for NI")
Signed-off-by: Nikita Zhandarovich <n.zhandarovich@fintech.ru>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h')
0 files changed, 0 insertions, 0 deletions