summaryrefslogtreecommitdiff
path: root/rust/helpers/pid_namespace.c
diff options
context:
space:
mode:
authorLiao Yuanhong <liaoyuanhong@vivo.com>2025-09-04 11:21:12 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-09-06 00:38:39 +0300
commitfa740b115b467f48128c727cd4e19a2b7345a18a (patch)
tree9fc041bff3d62e78f952d9f582ea1bdc151b19f1 /rust/helpers/pid_namespace.c
parentdb51c5d98b03940d865002adba8a16939dc4c26a (diff)
downloadlinux-fa740b115b467f48128c727cd4e19a2b7345a18a.tar.xz
drm/amd/pm/powerplay/hwmgr/ppatomctrl: 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. Swap variable positions on either side of '!=' to enhance readability. Signed-off-by: Liao Yuanhong <liaoyuanhong@vivo.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'rust/helpers/pid_namespace.c')
0 files changed, 0 insertions, 0 deletions