diff options
author | Liao Yuanhong <liaoyuanhong@vivo.com> | 2025-09-04 16:21:11 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-09-05 17:38:39 -0400 |
commit | db51c5d98b03940d865002adba8a16939dc4c26a (patch) | |
tree | b2ce4b4ca3fb817af4e58cfa1620de8f288d2f3a /rust/helpers/build_bug.c | |
parent | 53c271b9a06ca307c2ce6994877d8d084d031962 (diff) |
amdgpu/pm/legacy: 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.
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