diff options
| author | Kirtika Ruchandani <kirtika.ruchandani@gmail.com> | 2016-11-21 22:04:46 -0800 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2016-12-13 16:04:58 +0100 |
| commit | 872684b1f7de40b95dac51245f3aad208528a6c3 (patch) | |
| tree | 59bd6cc83094666c6c43d488755071943b270c0f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 99cd25810e326c62f5a51fa6f0dd1e848060680f (diff) | |
| download | linux-872684b1f7de40b95dac51245f3aad208528a6c3.tar.gz linux-872684b1f7de40b95dac51245f3aad208528a6c3.zip | |
mac80211: Remove unused 'rates_idx' variable
Commit f027c2aca0cf introduced 'rates_idx' in
ieee80211_tx_status_noskb but did not use it. Compiling with W=1
gives the following warning, fix it.
mac80211/status.c: In function ‘ieee80211_tx_status_noskb’:
mac80211/status.c:636:6: warning: variable ‘rates_idx’ set but not used [-Wunused-but-set-variable]
This is a harmless warning, and is only being fixed to reduce the
noise generated with W=1.
Fixes: f027c2aca0cf ("mac80211: add ieee80211_tx_status_noskb")
Cc: Johannes Berg <johannes.berg@intel.com>
Cc: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Kirtika Ruchandani <kirtika@google.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
