diff options
| author | Kirtika Ruchandani <[email protected]> | 2016-11-21 22:54:16 -0800 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2016-12-13 16:04:59 +0100 |
| commit | fb803becb1180d3f940a634f073981e0b72d7030 (patch) | |
| tree | 82002145b8224b037f20b3364aaf83b48ce2c34c /tools/perf/scripts/python/bin | |
| parent | 872684b1f7de40b95dac51245f3aad208528a6c3 (diff) | |
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 <[email protected]>
Cc: Maxim Altshul <[email protected]>
Signed-off-by: Kirtika Ruchandani <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions