summaryrefslogtreecommitdiff
path: root/net/mac80211/vht.c
diff options
context:
space:
mode:
authorKirtika Ruchandani <kirtika.ruchandani@gmail.com>2016-11-24 07:45:49 +0300
committerJohannes Berg <johannes.berg@intel.com>2016-12-13 18:05:09 +0300
commitcd5861bde0299fd5189a6b9e0d1e31e205064fc6 (patch)
tree096c7cc5cdbc8095f21f5f316f8d562f8f34c5bd /net/mac80211/vht.c
parentb7f2405c6bd8ae0125a974308f649637cdc81f80 (diff)
downloadlinux-cd5861bde0299fd5189a6b9e0d1e31e205064fc6.tar.xz
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/mac80211/vht.c')
0 files changed, 0 insertions, 0 deletions