diff options
| author | Liao Yuanhong <liaoyuanhong@vivo.com> | 2025-09-03 20:03:48 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-09-05 16:00:15 -0400 |
| commit | 8a4bc4508c6b104210b85f380d3237d3a2582f37 (patch) | |
| tree | 9f1e144934acefac9eb7e821ff6a17e199677cb4 /rust/helpers | |
| parent | 60df3e81d742e95805ca5e32ef336f87ab35dc37 (diff) | |
drm/amdgpu/ih: 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')
0 files changed, 0 insertions, 0 deletions
