[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b9433a38-f948-4e16-b7e5-0c2537f7fe0e@gmail.com>
Date: Thu, 4 Sep 2025 18:26:41 +0200
From: Raphaël Gallais-Pou <rgallaispou@...il.com>
To: Liao Yuanhong <liaoyuanhong@...o.com>,
Alain Volmat <alain.volmat@...s.st.com>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>, Thomas Zimmermann <tzimmermann@...e.de>,
David Airlie <airlied@...il.com>, Simona Vetter <simona@...ll.ch>,
"open list:DRM DRIVERS FOR STI" <dri-devel@...ts.freedesktop.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] drm/sti: Remove redundant ternary operators
Le 04/09/2025 à 13:27, Liao Yuanhong a écrit :
> 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>
> ---
Hi,
Acked-by: Raphaël Gallais-Pou <rgallaispou@...il.com>
Thanks,
Best regards,
Raphaël
Powered by blists - more mailing lists