wifi: rtlwifi: rtl8192se: remove redundant rtl_get_bbreg() call
authorPeter Kosyh <pkosyh@yandex.ru>
Mon, 5 Dec 2022 08:53:42 +0000 (11:53 +0300)
committerKalle Valo <kvalo@kernel.org>
Thu, 8 Dec 2022 14:52:35 +0000 (16:52 +0200)
commit49ebca0d9018ff3517b24972f6f2a9f3d0dc956f
treea68971b1fb5fd97765736e80252ab79cd112b8c9
parent87caeef032fc3921bc866ad7becb6ed51aa8b27b
wifi: rtlwifi: rtl8192se: remove redundant rtl_get_bbreg() call

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@yandex.ru>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20221205085342.677329-1-pkosyh@yandex.ru
drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c