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
This commit is contained in:
parent
87caeef032
commit
49ebca0d90
|
@ -115,9 +115,6 @@ static u32 _rtl92s_phy_rf_serial_read(struct ieee80211_hw *hw,
|
|||
retvalue = rtl_get_bbreg(hw, pphyreg->rf_rb,
|
||||
BLSSI_READBACK_DATA);
|
||||
|
||||
retvalue = rtl_get_bbreg(hw, pphyreg->rf_rb,
|
||||
BLSSI_READBACK_DATA);
|
||||
|
||||
rtl_dbg(rtlpriv, COMP_RF, DBG_TRACE, "RFR-%d Addr[0x%x]=0x%x\n",
|
||||
rfpath, pphyreg->rf_rb, retvalue);
|
||||
|
||||
|
|
Loading…
Reference in New Issue