diff options
| author | Liao Yuanhong <liaoyuanhong@vivo.com> | 2025-09-03 20:03:50 +0800 | 
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-09-05 16:06:34 -0400 | 
| commit | 086f66edf9244d8c05b0ddf24631fe7f3472ac45 (patch) | |
| tree | ff298689fc5a522374c80d2c32b9e44d19cd6025 /rust/helpers/helpers.c | |
| parent | 9502b09933ed8debe9888c69b10e79e3a2b66800 (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
