[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191009082932.038F361AE9@smtp.codeaurora.org>
Date: Wed, 9 Oct 2019 08:29:28 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: zhengbin <zhengbin13@...wei.com>
Cc: <pkshih@...ltek.com>, <davem@...emloft.net>,
<linux-wireless@...r.kernel.org>, <netdev@...r.kernel.org>,
<zhengbin13@...wei.com>
Subject: Re: [PATCH] rtlwifi: rtl8192ee: Remove set but not used variable
'cur_tx_wp'
zhengbin <zhengbin13@...wei.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 <hulkci@...wei.com>
> Signed-off-by: zhengbin <zhengbin13@...wei.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
Powered by blists - more mailing lists