diff options
| author | Nikita Zhandarovich <[email protected]> | 2024-01-17 14:44:36 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-01-22 21:55:51 +0000 |
| commit | bf38a4e4ab6833174ba81bd1c13f7620cd920583 (patch) | |
| tree | 25b467d57deeb96cf897578879cac0d7b123da08 /drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | |
| parent | drm/amd/pm: enable amdgpu smu send message log (diff) | |
| download | kernel-bf38a4e4ab6833174ba81bd1c13f7620cd920583.tar.gz kernel-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
<[email protected]> 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 <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c')
0 files changed, 0 insertions, 0 deletions
