lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250917150443.GB28673@nxa18884-linux.ap.freescale.net>
Date: Wed, 17 Sep 2025 23:04:44 +0800
From: Peng Fan <peng.fan@....nxp.com>
To: Liao Yuanhong <liaoyuanhong@...o.com>
Cc: Jassi Brar <jassisinghbrar@...il.com>,
	"open list:MAILBOX API" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] mailbox: bcm-flexrm-mailbox: Remove redundant ternary
 operators

On Thu, Sep 04, 2025 at 07:29:26PM +0800, Liao Yuanhong wrote:
>For ternary operators in the form of "a ? true : false", if 'a' itself
>returns a boolean result, the ternary operator can be omitted. Remove
>redundant ternary operators to clean up the code.
>
>Signed-off-by: Liao Yuanhong <liaoyuanhong@...o.com>

Reviewed-by: Peng Fan <peng.fan@....com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ