summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorLiao Yuanhong <liaoyuanhong@vivo.com>2025-09-03 15:03:49 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-09-05 23:06:29 +0300
commit9502b09933ed8debe9888c69b10e79e3a2b66800 (patch)
tree5c7ac04a221ba9385865d33a3b3955c57ee199cf /tools/lib/python
parent8a4bc4508c6b104210b85f380d3237d3a2582f37 (diff)
downloadlinux-9502b09933ed8debe9888c69b10e79e3a2b66800.tar.xz
drm/amdgpu/jpeg: 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