diff options
| author | Liao Yuanhong <liaoyuanhong@vivo.com> | 2025-09-04 14:32:00 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-09-06 00:38:40 +0300 |
| commit | a055658793ddce9f2554c0d77e4b404cd0ac4107 (patch) | |
| tree | 5cd965409fc9a9cb6ddc820575d44fca3f7337ef /rust/helpers/bug.c | |
| parent | 220c7a21cb0a570fd0a44ce71e2e4a3a5f342fde (diff) | |
| download | linux-a055658793ddce9f2554c0d77e4b404cd0ac4107.tar.xz | |
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/bug.c')
0 files changed, 0 insertions, 0 deletions
