Re: [PATCH] rtlwifi: rtl8821ae: remove unused variables

From: Kalle Valo
Date: Sun Jan 26 2020 - 10:46:06 EST


YueHaibing <yuehaibing@xxxxxxxxxx> wrote:

> drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c:142:17:
> warning: cckswing_table_ch1ch13 defined but not used [-Wunused-const-variable=]
> drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c:178:17:
> warning: cckswing_table_ch14 defined but not used [-Wunused-const-variable=]
> drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c:96:18:
> warning: ofdmswing_table defined but not used [-Wunused-const-variable=]
>
> These variable is never used, so remove them.
>
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>

Patch applied to wireless-drivers-next.git, thanks.

cc071a6f26aa rtlwifi: rtl8821ae: remove unused variables

--
https://patchwork.kernel.org/patch/11343035/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches