[lvc-project] [PATCH] wifi: rtlwifi: cleanup few rtlxxxx_set_hw_reg() routines

Kalle Valo kvalo at kernel.org
Thu Sep 28 19:25:44 MSK 2023


Dmitry Antipov <dmantipov at yandex.ru> wrote:

> Since 'u8' comparison against zero is always false, drop the
> corresponding branches of AMPDU_MIN_SPACE adjustment within
> 'rtlxxxx_set_hw_reg()' for rtl8188ee, rtl8192ce, rtl8192de,
> rtl8723ae, rtl8723be, and rtl8821ae. Compile tested only.
> 
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
> 
> Signed-off-by: Dmitry Antipov <dmantipov at yandex.ru>
> Acked-by: Ping-Ke Shih <pkshih at realtek.com>

Patch applied to wireless-next.git, thanks.

6016f0cb02f4 wifi: rtlwifi: cleanup few rtlxxxx_set_hw_reg() routines

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20230925090452.25633-1-dmantipov@yandex.ru/

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




More information about the lvc-project mailing list