summaryrefslogtreecommitdiff
path: root/net/wireless/nl80211.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2021-03-26 05:48:43 +0300
committerJohannes Berg <johannes.berg@intel.com>2021-04-08 12:20:45 +0300
commit026dfac85f0a70cd1fd00181f1079b2c256b0e12 (patch)
tree2f222ca7d2be6e0f43795ea8cd7c9b3e06678cd7 /net/wireless/nl80211.c
parent81d94f47beaa561840776087d22a809b17c11033 (diff)
downloadlinux-026dfac85f0a70cd1fd00181f1079b2c256b0e12.tar.xz
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 <hulkci@huawei.com> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Link: https://lore.kernel.org/r/20210326024843.987941-1-weiyongjun1@huawei.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/nl80211.c')
0 files changed, 0 insertions, 0 deletions