diff options
| author | Liao Yuanhong <liaoyuanhong@vivo.com> | 2025-09-03 20:03:47 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-09-05 16:00:13 -0400 |
| commit | 60df3e81d742e95805ca5e32ef336f87ab35dc37 (patch) | |
| tree | a045c4da576e3b99fba19f6111331e61cad3c394 /rust/helpers/build_bug.c | |
| parent | d261e744af55179fcdd71fa767088421e6dea158 (diff) | |
drm/amdgpu/gmc: 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
