diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-07-26 17:15:35 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2019-08-06 15:37:43 +0300 |
commit | de019a3bdd6e68552e061f8c66b7cf7a18109c54 (patch) | |
tree | 414a06873ded4126a91f3aef6bbcb695fbebe526 /tools/perf/scripts/python/syscall-counts.py | |
parent | 937a194ae8651b434c4b4c62fe94099f41a93e14 (diff) | |
download | linux-de019a3bdd6e68552e061f8c66b7cf7a18109c54.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions