(subset) [PATCH 0/3] phy: Remove redundant ternary operators

Vinod Koul vkoul at kernel.org
Mon Sep 1 10:08:08 PDT 2025


On Thu, 28 Aug 2025 20:23:54 +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.
> 
> 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
> 
> [...]

Applied, thanks!

[1/3] phy: hisilicon: Remove redundant ternary operators
      commit: da938e39a81642748db3ec2385e8a53fe03d9bd1
[3/3] phy: rockchip: usbdp: Remove redundant ternary operators
      commit: 0c5375b06060fa40a8f8ce2e926bde125fdf6c3b

Best regards,
-- 
~Vinod





More information about the linux-arm-kernel mailing list