diff options
author | Liao Yuanhong <liaoyuanhong@vivo.com> | 2025-09-02 21:26:08 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-09-06 15:32:32 +0200 |
commit | 6f9871b3e8c31953978db552c730a7e017e51d19 (patch) | |
tree | 4e60e48d13d2f9e9c859bd931cc6db4fb7a92d53 /scripts/gdb/linux/mapletree.py | |
parent | 0f577e88d9bc14d9ed00515b47fe3f8e9b1c35be (diff) |
usb: gadget: tegra-xudc: 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/20250902132613.84876-1-liaoyuanhong@vivo.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/mapletree.py')
0 files changed, 0 insertions, 0 deletions