]> Gentwo Git Trees - linux/.git/commit
drm/radeon/atom: Remove redundant ternary operators
authorLiao Yuanhong <liaoyuanhong@vivo.com>
Thu, 4 Sep 2025 11:31:57 +0000 (19:31 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 5 Sep 2025 21:38:39 +0000 (17:38 -0400)
commit7a50377cea5f1f39a91d64eb8c522ee760c91b56
treea87150855ea36f66a65da886b65346e2d5d2e061
parent9ab06ab36d4a84d087e995233fe10d5d9496f908
drm/radeon/atom: 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>
drivers/gpu/drm/radeon/atombios_encoders.c