diff options
author | Lee Jones <[email protected]> | 2020-07-01 09:58:41 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-07-01 15:05:37 +0200 |
commit | 67db05cea6f66da68fda47a0e38422c3d19479a8 (patch) | |
tree | a326eab764dadcbbfad8832f4317d3b4465052e9 /tools/perf/scripts/python/sctop.py | |
parent | e0712c600e7b3e7cf29de9dc0cd178aac5250958 (diff) |
misc: habanalabs: goya: goya_coresight: Remove set but unused variable 'val'
No attempt to check the return value of RREG32() has been made
since the call was introduced a year ago.
Fixes W=1 kernel build warning:
drivers/misc/habanalabs/goya/goya_coresight.c: In function ‘goya_debug_coresight’:
drivers/misc/habanalabs/goya/goya_coresight.c:643:6: warning: variable ‘val’ set but not used [-Wunused-but-set-variable]
643 | u32 val;
| ^~~
Cc: Oded Gabbay <[email protected]>
Cc: Tomer Tayar <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Reviewed-by: Oded Gabbay <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions