diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2024-04-22 15:29:22 +0800 |
---|---|---|
committer | Ping-Ke Shih <pkshih@realtek.com> | 2024-04-29 09:38:22 +0800 |
commit | 5eb027019fa3a5ee7d1ab12e31200afa00d5cb76 (patch) | |
tree | a77e28a7543f9a4ca53d7794742091b0a3786618 /drivers/net/wireless/realtek/rtlwifi | |
parent | 416a445ec328c53ad5f24e000182ac027f0f9cf5 (diff) |
wifi: rtw89: Remove the redundant else branch in the function rtw89_phy_get_kpath
The assignment of the else and if branches is the same in the "case:
MLO_2_PLUS_0_1RF" branch of the function rtw89_phy_get_kpath, so we
remove it and add comments here to make the code easier to understand.
./drivers/net/wireless/realtek/rtw89/phy.c:6406:2-4: WARNING: possible condition with no effect (if == else).
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=8812
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://msgid.link/20240422072922.50940-1-jiapeng.chong@linux.alibaba.com
Diffstat (limited to 'drivers/net/wireless/realtek/rtlwifi')
0 files changed, 0 insertions, 0 deletions