diff options
| author | 2025-09-02 21:27:19 +0800 | |
|---|---|---|
| committer | 2025-09-06 15:23:49 +0200 | |
| commit | 1c208fd306f296a663d1edcced57bd8ef113eb74 (patch) | |
| tree | c77bc57e65ca7570834baf41831c1a94dbeb23b1 /drivers/usb/cdns3/cdnsp-pci.c | |
| parent | cdnsp: Remove unused tracepoints (diff) | |
| download | wireguard-linux-1c208fd306f296a663d1edcced57bd8ef113eb74.tar.xz wireguard-linux-1c208fd306f296a663d1edcced57bd8ef113eb74.zip | |
usb: host: xhci-tegra: 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.
Signed-off-by: Liao Yuanhong <liaoyuanhong@vivo.com>
Link: https://lore.kernel.org/r/20250902132720.85504-1-liaoyuanhong@vivo.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/cdns3/cdnsp-pci.c')
0 files changed, 0 insertions, 0 deletions
