summaryrefslogtreecommitdiff
path: root/net/tipc
diff options
context:
space:
mode:
authorKirtika Ruchandani <kirtika.ruchandani@gmail.com>2016-11-23 20:45:49 -0800
committerJohannes Berg <johannes.berg@intel.com>2016-12-13 16:05:09 +0100
commitcd5861bde0299fd5189a6b9e0d1e31e205064fc6 (patch)
tree096c7cc5cdbc8095f21f5f316f8d562f8f34c5bd /net/tipc
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 <david.spinadel@intel.com> Cc: Alexander Bondar <alexander.bondar@intel.com> Cc: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Kirtika Ruchandani <kirtika@chromium.org> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions