aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorKirtika Ruchandani <[email protected]>2016-11-23 20:45:49 -0800
committerJohannes Berg <[email protected]>2016-12-13 16:05:09 +0100
commitcd5861bde0299fd5189a6b9e0d1e31e205064fc6 (patch)
tree096c7cc5cdbc8095f21f5f316f8d562f8f34c5bd /tools/perf/scripts/python/bin
parentb7f2405c6bd8ae0125a974308f649637cdc81f80 (diff)
mac80211: Remove unused 'len' variable
Commit 633e27132625 (mac80211: split sched scan IEs) introduced the len variable to keep track of the return value of ieee80211_build_preq_ies() but did not use it. Compiling with W=1 gives the following warning, fix it. net/mac80211/scan.c: In function ‘__ieee80211_request_sched_scan_start’: net/mac80211/scan.c:1123:9: warning: variable ‘len’ set but not used [-Wunused-but-set-variable] This is a harmless warning and is only being fixed to reduce the noise with W=1 in the kernel. Fixes: 633e27132625 ("mac80211: split sched scan IEs") Cc: David Spinadel <[email protected]> Cc: Alexander Bondar <[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')
0 files changed, 0 insertions, 0 deletions