RE: [PATCH] rtw89: remove unnecessary conditional operators

From: Pkshih
Date: Thu Nov 04 2021 - 02:45:11 EST



> -----Original Message-----
> From: cgel.zte@xxxxxxxxx <cgel.zte@xxxxxxxxx>
> Sent: Thursday, November 4, 2021 2:11 PM
> To: Pkshih <pkshih@xxxxxxxxxxx>
> Cc: kvalo@xxxxxxxxxxxxxx; davem@xxxxxxxxxxxxx; kuba@xxxxxxxxxx; linux-wireless@xxxxxxxxxxxxxxx;
> netdev@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; Ye Guojin <ye.guojin@xxxxxxxxxx>; Zeal Robot
> <zealci@xxxxxxxxxx>
> Subject: [PATCH] rtw89: remove unnecessary conditional operators
>
> From: Ye Guojin <ye.guojin@xxxxxxxxxx>
>
> The conditional operator is unnecessary while assigning values to the
> bool variables.
>
> Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
> Signed-off-by: Ye Guojin <ye.guojin@xxxxxxxxxx>

Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx>

[...]