]> git.baikalelectronics.ru Git - kernel.git/commit
b43: remove set but not used variable 'wl'
authorYueHaibing <yuehaibing@huawei.com>
Fri, 5 Oct 2018 04:15:45 +0000 (04:15 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 5 Oct 2018 08:38:06 +0000 (11:38 +0300)
commit479a9f50368103ae0a691406f473cfb50534941c
treee8faaa55482b6fd41d586bcccbc77593ea47e8f9
parent7c7bf665241c9bb1f9e913673328ee80e1bcbf68
b43: remove set but not used variable 'wl'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/net/wireless/broadcom/b43/main.c: In function 'b43_one_core_detach':
drivers/net/wireless/broadcom/b43/main.c:5496:17: warning:
 variable 'wl' set but not used [-Wunused-but-set-variable]

After commit af58d91458f2 ("b43: remove list of IEEE 802.11 devices")
'wl' is not used any more.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/b43/main.c