Re: [PATCH V3] s390: Simplify the calculation of variables
From: Peter Oberparleiter
Date: Fri Apr 08 2022 - 08:53:22 EST
On 07.04.2022 04:16, Haowen Bai wrote:
> Fix the following coccicheck warnings:
> ./arch/s390/include/asm/scsw.h:695:47-49: WARNING
> !A || A && B is equivalent to !A || B
>
> I apply a readable version just to get rid of a warning.
>
> Signed-off-by: Haowen Bai <baihaowen@xxxxxxxxx>
A definitive improvement over the current version. Thanks!
Reviewed-by: Peter Oberparleiter <oberpar@xxxxxxxxxxxxx>
--
Peter Oberparleiter
Linux on IBM Z Development - IBM Germany R&D