[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1540257852.2768.4.camel@realtek.com>
Date: Tue, 23 Oct 2018 01:24:45 +0000
From: Pkshih <pkshih@...ltek.com>
To: "yuehaibing@...wei.com" <yuehaibing@...wei.com>,
"kvalo@...eaurora.org" <kvalo@...eaurora.org>,
"colin.king@...onical.com" <colin.king@...onical.com>,
"Larry.Finger@...inger.net" <Larry.Finger@...inger.net>,
"natechancellor@...il.com" <natechancellor@...il.com>
CC: "linux-wireless@...r.kernel.org" <linux-wireless@...r.kernel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"kernel-janitors@...r.kernel.org" <kernel-janitors@...r.kernel.org>
Subject: Re: [PATCH] rtlwifi: btcoex: remove set but not used variable 'ppsc'
On Mon, 2018-10-22 at 07:51 +0000, YueHaibing wrote:
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c: In function
> 'halbtc_leave_lps':
> drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c:295:21: warning:
> variable 'ppsc' set but not used [-Wunused-but-set-variable]
>
> drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c: In function
> 'halbtc_enter_lps':
> drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c:318:21: warning:
> variable 'ppsc' set but not used [-Wunused-but-set-variable]
>
> It never used since introduction in
> commit aa45a673b291 ("rtlwifi: btcoexist: Add new mini driver")
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Acked-by: Ping-Ke Shih <pkshih@...ltek.com>
Powered by blists - more mailing lists