aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorLiao Yuanhong <liaoyuanhong@vivo.com>2025-09-03 20:03:47 +0800
committerAlex Deucher <alexander.deucher@amd.com>2025-09-05 16:00:13 -0400
commit60df3e81d742e95805ca5e32ef336f87ab35dc37 (patch)
treea045c4da576e3b99fba19f6111331e61cad3c394 /tools/perf/scripts/python/task-analyzer.py
parentdrm/amdgpu/gfx: Remove redundant ternary operators (diff)
downloadlinux-60df3e81d742e95805ca5e32ef336f87ab35dc37.tar.gz
linux-60df3e81d742e95805ca5e32ef336f87ab35dc37.zip
drm/amdgpu/gmc: 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 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions