[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250828122401.17441-1-liaoyuanhong@vivo.com>
Date: Thu, 28 Aug 2025 20:23:54 +0800
From: Liao Yuanhong <liaoyuanhong@...o.com>
To: Vinod Koul <vkoul@...nel.org>,
Kishon Vijay Abraham I <kishon@...nel.org>,
Yoshihiro Shimoda <yoshihiro.shimoda.uh@...esas.com>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Magnus Damm <magnus.damm@...il.com>,
Heiko Stuebner <heiko@...ech.de>,
linux-phy@...ts.infradead.org (open list:GENERIC PHY FRAMEWORK),
linux-kernel@...r.kernel.org (open list),
linux-renesas-soc@...r.kernel.org (open list:RENESAS USB PHY DRIVER),
linux-arm-kernel@...ts.infradead.org (moderated list:ARM/Rockchip SoC support),
linux-rockchip@...ts.infradead.org (open list:ARM/Rockchip SoC support)
Cc: Liao Yuanhong <liaoyuanhong@...o.com>
Subject: [PATCH 0/3] phy: Remove redundant ternary operators
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.
Liao Yuanhong (3):
phy: hisilicon: Remove redundant ternary operators
phy: renesas: rcar-gen3-usb2: Remove redundant ternary operators
phy: rockchip: usbdp: Remove redundant ternary operators
drivers/phy/hisilicon/phy-histb-combphy.c | 2 +-
drivers/phy/renesas/phy-rcar-gen3-usb2.c | 2 +-
drivers/phy/rockchip/phy-rockchip-usbdp.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
--
2.34.1
Powered by blists - more mailing lists