diff options
| author | Thorsten Blum <[email protected]> | 2024-06-04 12:37:37 +0200 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-06-14 15:20:47 -0400 |
| commit | 4aa1f202519f6a837376efc87fae4a0ecc97f40b (patch) | |
| tree | 9fa6d047d8e79355574719e7d290d5584654a8bc /tools/perf/scripts/python/futex-contention.py | |
| parent | f1934de46f2b259a87565407a5f2163d66e41092 (diff) | |
drm/amd/display: Simplify if conditions
The if conditions !A || A && B can be simplified to !A || B.
Fixes the following Coccinelle/coccicheck warnings reported by
excluded_middle.cocci:
WARNING !A || A && B is equivalent to !A || B
WARNING !A || A && B is equivalent to !A || B
WARNING !A || A && B is equivalent to !A || B
Compile-tested only.
Signed-off-by: Thorsten Blum <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions