rtw89: remove unnecessary conditional operators
authorYe Guojin <ye.guojin@zte.com.cn>
Thu, 4 Nov 2021 06:11:19 +0000 (06:11 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 26 Nov 2021 16:11:02 +0000 (18:11 +0200)
commit1646ce8f83b953a675cb99e7b6708d8121b5fecf
tree7fed9ab17acf1bbf27ec6ddb2f060360bf10ccde
parent08e16498e01b289dc9cfd41043c91a4b84fe6ce9
rtw89: remove unnecessary conditional operators

The conditional operator is unnecessary while assigning values to the
bool variables.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Ye Guojin <ye.guojin@zte.com.cn>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20211104061119.1685-1-ye.guojin@zte.com.cn
drivers/net/wireless/realtek/rtw89/debug.c
drivers/net/wireless/realtek/rtw89/mac.c
drivers/net/wireless/realtek/rtw89/phy.c
drivers/net/wireless/realtek/rtw89/rtw8852a.c