diff options
| author | Colin Ian King <[email protected]> | 2018-07-11 08:42:53 +0100 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2018-07-31 10:19:07 +0300 |
| commit | 454127ad36fb11ee212f487b2640dd82373f3b0c (patch) | |
| tree | a99ab04ef6f7112cae90d4622dd596170e53afde /tools/perf/scripts/python/sched-migration.py | |
| parent | 0e139e97f58e8f844fecd77461aaad128f43b734 (diff) | |
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 <[email protected]>
Acked-by: Stanislaw Gruszka <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions