Re: [PATCH v2] rtw88: Simplify bool comparison

From: Kalle Valo
Date: Thu Jan 14 2021 - 12:28:59 EST


YANG LI <abaci-bugfix@xxxxxxxxxxxxxxxxx> wrote:

> Fix the following coccicheck warning:
> ./drivers/net/wireless/realtek/rtw88/debug.c:800:17-23: WARNING:
> Comparison of 0/1 to bool variable
>
> Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
> Signed-off-by: YANG LI <abaci-bugfix@xxxxxxxxxxxxxxxxx>

Patch applied to wireless-drivers-next.git, thanks.

d3a78c7a9daa rtw88: Simplify bool comparison

--
https://patchwork.kernel.org/project/linux-wireless/patch/1610445040-23599-1-git-send-email-abaci-bugfix@xxxxxxxxxxxxxxxxx/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches