lkml.org 
[lkml]   [2022]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH V3] s390: Simplify the calculation of variables
From
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@meizu.com>

A definitive improvement over the current version. Thanks!

Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com>


--
Peter Oberparleiter
Linux on IBM Z Development - IBM Germany R&D

\
 
 \ /
  Last update: 2022-04-08 14:54    [W:0.054 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site