All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] phy: Remove redundant ternary operators
@ 2025-08-28 12:23 ` Liao Yuanhong
  0 siblings, 0 replies; 15+ messages in thread
From: Liao Yuanhong @ 2025-08-28 12:23 UTC (permalink / raw)
  To: Vinod Koul, Kishon Vijay Abraham I, Yoshihiro Shimoda,
	Geert Uytterhoeven, Magnus Damm, Heiko Stuebner,
	open list:GENERIC PHY FRAMEWORK, open list,
	open list:RENESAS USB PHY DRIVER,
	moderated list:ARM/Rockchip SoC support,
	open list:ARM/Rockchip SoC support
  Cc: Liao Yuanhong

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



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2025-09-01 23:13 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-28 12:23 [PATCH 0/3] phy: Remove redundant ternary operators Liao Yuanhong
2025-08-28 12:23 ` Liao Yuanhong
2025-08-28 12:23 ` Liao Yuanhong
2025-08-28 12:23 ` [PATCH 1/3] phy: hisilicon: " Liao Yuanhong
2025-08-28 12:23   ` Liao Yuanhong
2025-08-28 12:23 ` [PATCH 2/3] phy: renesas: rcar-gen3-usb2: " Liao Yuanhong
2025-08-28 12:23   ` Liao Yuanhong
2025-08-28 12:31   ` Wolfram Sang
2025-08-28 12:31     ` Wolfram Sang
2025-08-28 12:23 ` [PATCH 3/3] phy: rockchip: usbdp: " Liao Yuanhong
2025-08-28 12:23   ` Liao Yuanhong
2025-08-28 12:23   ` Liao Yuanhong
2025-09-01 17:08 ` (subset) [PATCH 0/3] phy: " Vinod Koul
2025-09-01 17:08   ` Vinod Koul
2025-09-01 17:08   ` Vinod Koul

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.