Re: [PATCH] iwlegacy: 4965-mac: Simplify the calculation of variables

From: Kalle Valo
Date: Mon Feb 08 2021 - 06:39:22 EST


Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx> wrote:

> Fix the following coccicheck warnings:
>
> ./drivers/net/wireless/intel/iwlegacy/4965-mac.c:2596:54-56: WARNING !A
> || A && B is equivalent to !A || B.
>
> Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
> Signed-off-by: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx>
> Acked-by: Stanislaw Gruszka <stf_xl@xxxxx>

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

fcb8f3ca4b5b iwlegacy: 4965-mac: Simplify the calculation of variables

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

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