rtl8xxxu: Remove set but not used variables 'usedesc40' and 'seq_number'
authorYueHaibing <yuehaibing@huawei.com>
Mon, 8 Oct 2018 14:16:59 +0000 (14:16 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 13 Oct 2018 17:05:26 +0000 (20:05 +0300)
commit03ce6f8a677692e4e5d5196b4e337555285b8996
tree05bc2b23e7ce567b4b708eee2accf7a86a4596fd
parent4cb5054957b24dd83f5747cd1771c790726d7836
rtl8xxxu: Remove set but not used variables 'usedesc40' and 'seq_number'

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

drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c: In function 'rtl8xxxu_tx':
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c:4925:7: warning:
 variable 'usedesc40' set but not used [-Wunused-but-set-variable]

drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c:4921:6: warning:
 variable 'seq_number' set but not used [-Wunused-but-set-variable]

'usedesc40' and 'seq_number' are not used any more after
commit b59415c2dd08 ("rtl8xxxu: Split filling of TX descriptors into separate functions")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c