Re: wifi: rtlwifi: rtl8192de: Remove the unused variable bcnfunc_enable
From: Kalle Valo
Date: Wed Feb 22 2023 - 07:30:39 EST
Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx> wrote:
> Variable bcnfunc_enable is not effectively used, so delete it.
>
> drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c:1050:5: warning: variable 'bcnfunc_enable' set but not used.
>
> Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4110
> Signed-off-by: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx>
> Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx>
Patch applied to wireless-next.git, thanks.
db5e4b364553 wifi: rtlwifi: rtl8192de: Remove the unused variable bcnfunc_enable
--
https://patchwork.kernel.org/project/linux-wireless/patch/20230217092529.105899-1-jiapeng.chong@xxxxxxxxxxxxxxxxx/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches