summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorLiao Yuanhong <liaoyuanhong@vivo.com>2025-09-03 20:03:50 +0800
committerAlex Deucher <alexander.deucher@amd.com>2025-09-05 16:06:34 -0400
commit086f66edf9244d8c05b0ddf24631fe7f3472ac45 (patch)
treeff298689fc5a522374c80d2c32b9e44d19cd6025 /rust/helpers/helpers.c
parent9502b09933ed8debe9888c69b10e79e3a2b66800 (diff)
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 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions