diff options
| author | Liao Yuanhong <liaoyuanhong@vivo.com> | 2025-09-04 14:31:59 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-09-06 00:38:40 +0300 |
| commit | 220c7a21cb0a570fd0a44ce71e2e4a3a5f342fde (patch) | |
| tree | 92dd89fce99f8f55795b38149fffcfe9ae3f7e4a /rust/helpers/bug.c | |
| parent | 60d6f01b5a7de4f1475774cc807840a002d601d6 (diff) | |
| download | linux-220c7a21cb0a570fd0a44ce71e2e4a3a5f342fde.tar.xz | |
drm/radeon/radeon_legacy_encoders: 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
