zhengbin <zhengbi...@huawei.com> 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 <hul...@huawei.com>
> Signed-off-by: zhengbin <zhengbi...@huawei.com>

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

Reply via email to