diff options
author | Liao Yuanhong <liaoyuanhong@vivo.com> | 2025-09-04 15:10:15 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-09-05 17:38:39 -0400 |
commit | 53c271b9a06ca307c2ce6994877d8d084d031962 (patch) | |
tree | 9c80ef02dc45b5164895b0078860056c15ee735e /rust/helpers/build_bug.c | |
parent | 54d18bc6003fad33eb901aa5fa3425449e53d5aa (diff) |
drm/amd/display: Remove redundant ternary operators
For ternary operators in the form of "a ? true : false" or
"a ? false : true", 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>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions