linux/drivers/net/wireless/broadcom/brcm80211
YueHaibing de019a3bdd brcmsmac: remove three set but not used variables
Fixes gcc '-Wunused-but-set-variable' warning:

drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c: In function 'brcms_c_set_gmode':
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c:5257:7: warning: variable 'preamble_restrict' set but not used [-Wunused-but-set-variable]
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c:5256:6: warning: variable 'preamble' set but not used [-Wunused-but-set-variable]
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c:5251:7: warning: variable 'shortslot_restrict' set but not used [-Wunused-but-set-variable]

They are never used so can be removed.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2019-08-06 15:37:43 +03:00
..
brcmfmac brcmfmac: remove set but not used variable 'dtim_period' 2019-08-06 15:35:00 +03:00
brcmsmac brcmsmac: remove three set but not used variables 2019-08-06 15:37:43 +03:00
brcmutil brcmutil: switch source files to using SPDX license identifier 2019-05-28 15:24:10 +03:00
include brcm80211: switch common header files to using SPDX license identifier 2019-05-28 15:24:09 +03:00
Kconfig brcm80211: select WANT_DEV_COREDUMP conditionally for brcmfmac 2019-05-28 15:24:15 +03:00
Makefile brcmfmac: switch source files to using SPDX license identifier 2019-05-28 15:24:12 +03:00