Re: [PATCH] rtlwifi: rtl8192se: Simplify bool comparison

From: Kalle Valo
Date: Wed Feb 10 2021 - 02:40:19 EST


Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx> wrote:

> Fix the follow coccicheck warnings:
>
> ./drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c:2305:6-27:
> WARNING: Comparison of 0/1 to bool variable.
>
> ./drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c:1376:5-26:
> WARNING: Comparison of 0/1 to bool variable.
>
> Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
> Signed-off-by: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx>

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

15085446c171 rtlwifi: rtl8192se: Simplify bool comparison

--
https://patchwork.kernel.org/project/linux-wireless/patch/1612839264-85773-1-git-send-email-jiapeng.chong@xxxxxxxxxxxxxxxxx/

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