rtlwifi: rtl8192ee: Remove set but not used variable 'cur_tx_wp'
authorzhengbin <zhengbin13@huawei.com>
Tue, 8 Oct 2019 02:01:40 +0000 (10:01 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 9 Oct 2019 08:29:09 +0000 (11:29 +0300)
commitac8efe4f4a84c6bf59237f77a5db65410bf20241
treeb9aaacf412b828866a00aa293d873698682a9185
parent314bf64d1266abe7aaccffb24f876ff7de261bf5
rtlwifi: rtl8192ee: Remove set but not used variable 'cur_tx_wp'

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

drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c: In function rtl92ee_is_tx_desc_closed:
drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c:1005:18: warning: variable cur_tx_wp set but not used [-Wunused-but-set-variable]

It is not used since commit cf54622c8076 ("rtlwifi:
cleanup the code that check whether TX ring is available")

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c