summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
diff options
context:
space:
mode:
authorNikita Zhandarovich <n.zhandarovich@fintech.ru>2024-01-17 06:44:36 -0800
committerAlex Deucher <alexander.deucher@amd.com>2024-01-22 16:55:51 -0500
commitbf38a4e4ab6833174ba81bd1c13f7620cd920583 (patch)
tree25b467d57deeb96cf897578879cac0d7b123da08 /drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
parent0cd2bc06de72216e8677bd08ff0cfa01564b9b19 (diff)
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/gmc_v8_0.c')
0 files changed, 0 insertions, 0 deletions