diff options
author | Wei Yongjun <[email protected]> | 2021-03-26 02:48:43 +0000 |
---|---|---|
committer | Johannes Berg <[email protected]> | 2021-04-08 11:20:45 +0200 |
commit | 026dfac85f0a70cd1fd00181f1079b2c256b0e12 (patch) | |
tree | 2f222ca7d2be6e0f43795ea8cd7c9b3e06678cd7 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 81d94f47beaa561840776087d22a809b17c11033 (diff) |
mac80211: minstrel_ht: remove unused variable 'mg' in minstrel_ht_next_jump_rate()
GCC reports the following warning with W=1:
net/mac80211/rc80211_minstrel_ht.c:871:34: warning:
variable 'mg' set but not used [-Wunused-but-set-variable]
871 | struct minstrel_mcs_group_data *mg;
| ^~
This variable is not used in function , this commit
remove it to fix the warning.
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions