YueHaibing <yuehaibing@xxxxxxxxxx> 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@xxxxxxxxxx> > Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> Patch applied to wireless-drivers-next.git, thanks. 9198f460ec9d rtlwifi: btcoex: remove set but not used variable 'ppsc' -- https://patchwork.kernel.org/patch/10651825/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches