summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorLiao Yuanhong <liaoyuanhong@vivo.com>2025-09-03 15:03:50 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-09-05 23:06:34 +0300
commit086f66edf9244d8c05b0ddf24631fe7f3472ac45 (patch)
treeff298689fc5a522374c80d2c32b9e44d19cd6025 /tools/lib/python
parent9502b09933ed8debe9888c69b10e79e3a2b66800 (diff)
downloadlinux-086f66edf9244d8c05b0ddf24631fe7f3472ac45.tar.xz
drm/amdgpu/vcn: 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. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Liao Yuanhong <liaoyuanhong@vivo.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions