diff options
| author | Liao Yuanhong <liaoyuanhong@vivo.com> | 2025-09-03 15:03:47 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-09-05 23:00:13 +0300 |
| commit | 60df3e81d742e95805ca5e32ef336f87ab35dc37 (patch) | |
| tree | a045c4da576e3b99fba19f6111331e61cad3c394 /tools | |
| parent | d261e744af55179fcdd71fa767088421e6dea158 (diff) | |
| download | linux-60df3e81d742e95805ca5e32ef336f87ab35dc37.tar.xz | |
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 'tools')
0 files changed, 0 insertions, 0 deletions
