aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/atom.c
diff options
context:
space:
mode:
authorLiao Yuanhong <liaoyuanhong@vivo.com>2025-09-04 19:32:00 +0800
committerAlex Deucher <alexander.deucher@amd.com>2025-09-05 17:38:40 -0400
commita055658793ddce9f2554c0d77e4b404cd0ac4107 (patch)
tree5cd965409fc9a9cb6ddc820575d44fca3f7337ef /drivers/gpu/drm/amd/amdgpu/atom.c
parentdrm/radeon/radeon_legacy_encoders: Remove redundant ternary operators (diff)
downloadlinux-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