Re: [PATCH V3] s390: Simplify the calculation of variables
From: Heiko Carstens
Date: Fri Apr 08 2022 - 10:32:41 EST
On Fri, Apr 08, 2022 at 02:53:02PM +0200, Peter Oberparleiter wrote:
> 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>
Applied, thanks!