diff options
author | Liao Yuanhong <liaoyuanhong@vivo.com> | 2025-09-04 19:32:00 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-09-05 17:38:40 -0400 |
commit | a055658793ddce9f2554c0d77e4b404cd0ac4107 (patch) | |
tree | 5cd965409fc9a9cb6ddc820575d44fca3f7337ef /rust/helpers/build_bug.c | |
parent | 220c7a21cb0a570fd0a44ce71e2e4a3a5f342fde (diff) |
drm/radeon/pm: 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