diff options
| author | 2022-01-19 22:46:28 +0000 | |
|---|---|---|
| committer | 2022-01-25 18:00:36 -0500 | |
| commit | ee2016b4b5bb70483e1c06218e7b6288704284cb (patch) | |
| tree | 7b942741acf5fb0f484e103b697652aa94cca77a /tools/perf/scripts/python | |
| parent | drm/amd/pm: return -ENOTSUPP if there is no get_dpm_ultimate_freq function (diff) | |
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 <ndesaulniers@google.com>
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
