[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181213150239.BE5E8607BA@smtp.codeaurora.org>
Date: Thu, 13 Dec 2018 15:02:39 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: YueHaibing <yuehaibing@...wei.com>
Cc: Larry Finger <Larry.Finger@...inger.net>,
Priit Laes <plaes@...es.org>,
Kees Cook <keescook@...omium.org>,
Jia-Ju Bai <baijiaju1990@...il.com>,
YueHaibing <yuehaibing@...wei.com>,
<linux-wireless@...r.kernel.org>, <b43-dev@...ts.infradead.org>,
<netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<kernel-janitors@...r.kernel.org>
Subject: Re: [PATCH] b43: remove set but not used variables 'tx_pwr_state,
tmp2'
YueHaibing <yuehaibing@...wei.com> wrote:
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/wireless/broadcom/b43/phy_n.c: In function 'b43_nphy_op_recalc_txpower':
> drivers/net/wireless/broadcom/b43/phy_n.c:5898:7: warning:
> variable 'tx_pwr_state' set but not used [-Wunused-but-set-variable]
>
> drivers/net/wireless/broadcom/b43/phy_n.c:6047:20: warning:
> variable 'tmp2' set but not used [-Wunused-but-set-variable]
>
> 'tx_pwr_state' never used since introduction in commit
> 8615eb2870f1 ("b43: N-PHY: support setting custom TX power")
>
> 'tmp2' not used any more since commit c002831a07dd ("b43: N-PHY: use helper
> for checking IPA")
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Patch applied to wireless-drivers-next.git, thanks.
662a7b078cff b43: remove set but not used variables 'tx_pwr_state,tmp2'
--
https://patchwork.kernel.org/patch/10713095/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists