mac80211: Remove unused 'struct rate_control_ref' variable
authorKirtika Ruchandani <kirtika.ruchandani@gmail.com>
Tue, 22 Nov 2016 06:54:16 +0000 (22:54 -0800)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 13 Dec 2016 15:04:59 +0000 (16:04 +0100)
commitfb803becb1180d3f940a634f073981e0b72d7030
tree82002145b8224b037f20b3364aaf83b48ce2c34c
parent872684b1f7de40b95dac51245f3aad208528a6c3
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>
net/mac80211/sta_info.c