diff options
author | Kirtika Ruchandani <kirtika.ruchandani@gmail.com> | 2016-11-23 20:46:27 -0800 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2016-12-13 16:05:10 +0100 |
commit | ab7257251cc63eef5fa6702c3c616c6e2524d777 (patch) | |
tree | 470067dbfe72dbc1539cc043f3361f7934dd6751 /fs/ubifs | |
parent | 148f284b23061b6de4024423a6606437cc427f1c (diff) | |
download | linux-stable-ab7257251cc63eef5fa6702c3c616c6e2524d777.tar.gz linux-stable-ab7257251cc63eef5fa6702c3c616c6e2524d777.tar.bz2 linux-stable-ab7257251cc63eef5fa6702c3c616c6e2524d777.zip |
mac80211: Remove unused 'beaconint_us' variable
Commit 4a733ef1bea7 (mac80211: remove PM-QoS listener) removed all use
of 'beaconint_us' from ieee80211_recalc_ps() but left the variable
intact. Compiling with W=1 gives the following warning, fix it.
net/mac80211/mlme.c: In function ‘ieee80211_recalc_ps’:
net/mac80211/mlme.c:1481:7: warning: variable ‘beaconint_us’ set but not used [-Wunused-but-set-variable]
iee80211_tu_to_usec has no side-effects and is safe to remove.
Fixes: 4a733ef1bea7 ("mac80211: remove PM-QoS listener")
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 'fs/ubifs')
0 files changed, 0 insertions, 0 deletions