diff options
| author | Colin Ian King <[email protected]> | 2022-01-19 22:46:28 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-01-25 23:00:36 +0000 |
| commit | ee2016b4b5bb70483e1c06218e7b6288704284cb (patch) | |
| tree | 7b942741acf5fb0f484e103b697652aa94cca77a /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h | |
| parent | drm/amd/pm: return -ENOTSUPP if there is no get_dpm_ultimate_freq function (diff) | |
| download | kernel-ee2016b4b5bb70483e1c06218e7b6288704284cb.tar.gz kernel-ee2016b4b5bb70483e1c06218e7b6288704284cb.zip | |
drm/radeon: remove redundant assignment to reg
The pointer reg is being assigned a value that is not read, the
exit path via label 'out' never accesses it. The assignment is
redundant and can be removed.
Cleans up clang scan build warning:
drivers/gpu/drm/radeon/radeon_object.c:570:3: warning: Value
stored to 'reg' is never read [deadcode.DeadStores]
Reviewed-by: Nick Desaulniers <[email protected]>
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h')
0 files changed, 0 insertions, 0 deletions
