summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_dctcp.c
diff options
context:
space:
mode:
authorKirtika Ruchandani <kirtika.ruchandani@gmail.com>2016-11-24 07:46:14 +0300
committerJohannes Berg <johannes.berg@intel.com>2016-12-13 18:05:09 +0300
commit148f284b23061b6de4024423a6606437cc427f1c (patch)
tree2ba8be5a25772c28194c551d2dc58e4a5f4f67eb /net/ipv4/tcp_dctcp.c
parentcd5861bde0299fd5189a6b9e0d1e31e205064fc6 (diff)
downloadlinux-148f284b23061b6de4024423a6606437cc427f1c.tar.xz
mac80211: Remove unused 'sband' and 'local' variables
Commit b1bce14a7954 (mac80211: update opmode when adding new station) refactored ieee80211_vht_handle_opmode into __ieee80211_vht_handle_opmode and ieee80211_vht_handle_opmode leaving a set but unused variable (sband) in the former. Compiling with W=1 gives the following warning, fix it. net/mac80211/vht.c: In function ‘__ieee80211_vht_handle_opmode’: net/mac80211/vht.c:424:35: warning: variable ‘sband’ set but not used [-Wunused-but-set-variable] Remove 'struct ieee80211_local* local' as well, it was only used to set sband. This is a harmless warning, and is only being fixed to reduce the noise with W=1 in the kernel. Fixes: b1bce14a7954 ("mac80211: update opmode when adding new station") Cc: Marek Kwaczynski <marek.kwaczynski@tieto.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/ipv4/tcp_dctcp.c')
0 files changed, 0 insertions, 0 deletions