summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/ni_dpm.c
diff options
context:
space:
mode:
authorNikita Zhandarovich <n.zhandarovich@fintech.ru>2024-01-17 17:44:36 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-01-23 00:55:51 +0300
commitbf38a4e4ab6833174ba81bd1c13f7620cd920583 (patch)
tree25b467d57deeb96cf897578879cac0d7b123da08 /drivers/gpu/drm/radeon/ni_dpm.c
parent0cd2bc06de72216e8677bd08ff0cfa01564b9b19 (diff)
downloadlinux-bf38a4e4ab6833174ba81bd1c13f7620cd920583.tar.xz
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/radeon/ni_dpm.c')
0 files changed, 0 insertions, 0 deletions