diff options
| author | Liao Yuanhong <liaoyuanhong@vivo.com> | 2025-09-04 19:32:00 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-09-05 17:38:40 -0400 |
| commit | a055658793ddce9f2554c0d77e4b404cd0ac4107 (patch) | |
| tree | 5cd965409fc9a9cb6ddc820575d44fca3f7337ef /drivers/gpu/drm/amd/amdgpu/atom.c | |
| parent | drm/radeon/radeon_legacy_encoders: Remove redundant ternary operators (diff) | |
| download | linux-a055658793ddce9f2554c0d77e4b404cd0ac4107.tar.gz linux-a055658793ddce9f2554c0d77e4b404cd0ac4107.zip | |
drm/radeon/pm: 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 'drivers/gpu/drm/amd/amdgpu/atom.c')
0 files changed, 0 insertions, 0 deletions
