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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux