diff options
author | Kirtika Ruchandani <kirtika.ruchandani@gmail.com> | 2016-11-22 07:54:16 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2016-12-13 16:04:59 +0100 |
commit | fb803becb1180d3f940a634f073981e0b72d7030 (patch) | |
tree | 82002145b8224b037f20b3364aaf83b48ce2c34c /net/l2tp | |
parent | mac80211: Remove unused 'rates_idx' variable (diff) | |
download | linux-fb803becb1180d3f940a634f073981e0b72d7030.tar.xz linux-fb803becb1180d3f940a634f073981e0b72d7030.zip |
mac80211: Remove unused 'struct rate_control_ref' variable
Commit 3b17fbf87d5d introduced sta_get_expected_throughput()
leaving variable 'struct rate_control_ref* ref' set but unused.
Compiling with W=1 gives the following warning, fix it.
net/mac80211/sta_info.c: In function ‘sta_set_sinfo’:
net/mac80211/sta_info.c:2052:27: warning: variable ‘ref’ set but not used [-Wunused-but-set-variable]
Fixes: 3b17fbf87d5d ("mac80211: mesh: Add support for HW RC implementation")
Cc: Johannes Berg <johannes.berg@intel.com>
Cc: Maxim Altshul <maxim.altshul@ti.com>
Signed-off-by: Kirtika Ruchandani <kirtika@google.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/l2tp')
0 files changed, 0 insertions, 0 deletions