diff options
| author | Colin Ian King <[email protected]> | 2022-01-19 22:46:28 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-01-25 18:00:36 -0500 |
| commit | ee2016b4b5bb70483e1c06218e7b6288704284cb (patch) | |
| tree | 7b942741acf5fb0f484e103b697652aa94cca77a /tools/perf/scripts/python | |
| parent | 430e6a0212b2a0eb1de5e9d47a016fa79edf3978 (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 <[email protected]>
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions