diff options
| author | 2016-11-21 22:54:16 -0800 | |
|---|---|---|
| committer | 2016-12-13 16:04:59 +0100 | |
| commit | fb803becb1180d3f940a634f073981e0b72d7030 (patch) | |
| tree | 82002145b8224b037f20b3364aaf83b48ce2c34c /tools/lib/python/kdoc/python_version.py | |
| parent | mac80211: Remove unused 'rates_idx' variable (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 <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 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
