aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2021-05-20 08:41:44 +0200
committerGreg Kroah-Hartman <[email protected]>2021-05-20 11:41:20 +0200
commit7ca8d993d070582a65b01b2fa926ff59fd30635d (patch)
treea01fc70744b101085abdb426fe19c16f5849bcd6 /tools/perf/scripts/python/flamegraph.py
parentd23dc8cd1339a7f95c69c0d63bd57a8ff46c1c10 (diff)
staging: rtl8723bs: rtl8723b_hal_init.c: fix build warnings about unused variables
0-day keeps spitting out annoying messages: drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c:3895:18: warning: variable 'ra_info2' set but not used [-Wunused-but-set-variable] drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c:3895:8: warning: variable 'ra_info1' set but not used [-Wunused-but-set-variable] Oddly, it's not catching all of the "set but not used" variables in this switch statement. Fix it up just removing the storage of the values read. Leave the read from the hardware as odds are it is required in order to keep it working properly as I do not have the hardware to test with. I bet the whole case can be removed, but that will have to wait until later... Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions