diff options
| author | Liao Yuanhong <liaoyuanhong@vivo.com> | 2025-09-04 14:31:57 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-09-06 00:38:39 +0300 |
| commit | 7a50377cea5f1f39a91d64eb8c522ee760c91b56 (patch) | |
| tree | a87150855ea36f66a65da886b65346e2d5d2e061 /rust/helpers/bug.c | |
| parent | 9ab06ab36d4a84d087e995233fe10d5d9496f908 (diff) | |
| download | linux-7a50377cea5f1f39a91d64eb8c522ee760c91b56.tar.xz | |
drm/radeon/atom: 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
