mirror of
https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux-stable.git
synced 2025-09-29 17:50:53 +10:00
wifi: rtw89: 8851b: rfk: remove unnecessary assignment of return value of _dpk_dgain_read()
The return value of _dpk_dgain_read() is not used afterward, so remove it safely. Addresses-Coverity-ID: 1504753 ("Unused value") Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/20241209042020.21290-2-pkshih@realtek.com
This commit is contained in:
parent
b6c10a1936
commit
5fdf5e557f
@ -2199,7 +2199,7 @@ static u8 _dpk_agc(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy,
|
||||
|
||||
if (dgain > 0x5fc || dgain < 0x556) {
|
||||
_dpk_one_shot(rtwdev, phy, path, D_SYNC);
|
||||
dgain = _dpk_dgain_read(rtwdev);
|
||||
_dpk_dgain_read(rtwdev);
|
||||
}
|
||||
|
||||
if (agc_cnt == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user