diff options
| author | Liao Yuanhong <liaoyuanhong@vivo.com> | 2025-09-03 20:03:46 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-09-05 16:00:09 -0400 |
| commit | d261e744af55179fcdd71fa767088421e6dea158 (patch) | |
| tree | 55b3bda3f39991d344fd9e27e2993055dfb22896 /rust/helpers/build_bug.c | |
| parent | 7670daf65afae2d6d08b300df64c96439e813b3a (diff) | |
drm/amdgpu/gfx: Remove redundant ternary operators
For ternary operators in the form of "a ? false : true", if 'a' itself
returns a boolean result, the ternary operator can be omitted. Remove
redundant ternary operators to clean up the code.
Reviewed-by: Christian König <christian.koenig@amd.com>
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
