diff options
| author | Kirtika Ruchandani <[email protected]> | 2016-11-23 20:45:36 -0800 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2016-12-13 16:05:00 +0100 |
| commit | b7f2405c6bd8ae0125a974308f649637cdc81f80 (patch) | |
| tree | 7961fb7b3812f9692563a3ff4792055e4664ee0d /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | fb803becb1180d3f940a634f073981e0b72d7030 (diff) | |
mac80211: Remove unused 'i' variable
Commit 5bcae31d9 (mac80211: implement multi-vif in-place reservations)
introduced ieee80211_vif_use_reserved_switch() with a counter variable
'i' that is set but not used. Compiling with W=1 gives the following
warning, fix it.
net/mac80211/chan.c: In function ‘ieee80211_vif_use_reserved_switch’:
net/mac80211/chan.c:1273:6: warning: variable ‘i’ set but not used [-Wunused-but-set-variable]
This is a harmless warning, and is only being fixed to reduce the
noise obtained with W=1 in the kernel.
Fixes: 5bcae31d9 ("mac80211: implement multi-vif in-place reservations")
Cc: Michal Kazior <[email protected]>
Cc: Johannes Berg <[email protected]>
Signed-off-by: Kirtika Ruchandani <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions