aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-07-11 08:42:53 +0100
committerKalle Valo <kvalo@codeaurora.org>2018-07-31 10:19:07 +0300
commit454127ad36fb11ee212f487b2640dd82373f3b0c (patch)
treea99ab04ef6f7112cae90d4622dd596170e53afde /tools/perf/scripts/python/call-graph-from-sql.py
parentipw2x00: remove redundant variables len, ret, reason and crypt (diff)
downloadlinux-454127ad36fb11ee212f487b2640dd82373f3b0c.tar.gz
linux-454127ad36fb11ee212f487b2640dd82373f3b0c.zip
iwlegacy: remove several redundant variables
Variables id, unicast, write, conf, a_band, accum_tx and ucode are assigned a value but it is never read, hence they are redundant and can be removed. Cleans up clang warnings: warning: variable 'id' set but not used [-Wunused-but-set-variable] warning: variable 'unicast' set but not used [-Wunused-but-set-variable] warning: variable 'write' set but not used [-Wunused-but-set-variable] warning: variable 'conf' set but not used [-Wunused-but-set-variable] warning: variable 'a_band' set but not used [-Wunused-but-set-variable] warning: variable 'tx' set but not used [-Wunused-but-set-variable] warning: variable 'accum_tx' set but not used [-Wunused-but-set-variable] warning: variable 'ucode' set but not used [-Wunused-but-set-variable] Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions