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

From: Stanislaw Gruszka
Date: Thu Feb 04 2021 - 04:22:19 EST


On Thu, Feb 04, 2021 at 04:00:08PM +0800, Jiapeng Chong 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>