Subject: Re: [PATCH] rtlwifi: rtl8192ee: Remove set but not used variable 'cur_tx_wp'

From: Kalle Valo <[email-masked]>
Date: Wed, 9 Oct 2019 08:29:28 +0000 (UTC)

zhengbin <[email-masked]> wrote:

> 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 <[email-masked]>
> Signed-off-by: zhengbin <[email-masked]>

Patch applied to wireless-drivers-next.git, thanks.

ac8efe4f4a84 rtlwifi: rtl8192ee: Remove set but not used variable 'cur_tx_wp'

-- 
https://patchwork.kernel.org/patch/11178717/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches