Re: wifi: rtlwifi: rtl8192se: remove redundant rtl_get_bbreg() call

From: Kalle Valo
Date: Thu Dec 08 2022 - 09:52:55 EST


Peter Kosyh <pkosyh@xxxxxxxxx> wrote:

> Extra rtl_get_bbreg() call looks like redundant reading. The read has
> already been done in the "else" branch. Compile test only.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>
> Signed-off-by: Peter Kosyh <pkosyh@xxxxxxxxx>
> Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx>

Patch applied to wireless-next.git, thanks.

49ebca0d9018 wifi: rtlwifi: rtl8192se: remove redundant rtl_get_bbreg() call

--
https://patchwork.kernel.org/project/linux-wireless/patch/20221205085342.677329-1-pkosyh@xxxxxxxxx/

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