aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorIvan Lipski <[email protected]>2024-05-31 16:31:02 -0400
committerAlex Deucher <[email protected]>2024-06-14 16:17:13 -0400
commit3c6ad7320b32fc5de1cd9a5b092dc1d5a3cd0348 (patch)
tree9e19a2f61e3315483629133f6382beef9e5b728b /tools/perf/scripts/python/stat-cpi.py
parent223ac8b6f57a60f3262453a4bd3d3366842ced0f (diff)
drm/amd/display: Remove unreachable check
[WHY] Coverity analysis flagged this code as DEADCODE since the condition and return in the outer loop are never reached. All operations with the 'dwb_pipe' variable happen in the inner loop, that already contains the same check with the 'MAX_DWB_PIPES'. The later check condition cannot occur before the check condition in the inner loop, thus the later condition is unreacable. [HOW] Remove the unreachable condition. Acked-by: Zaeem Mohamed <[email protected]> Signed-off-by: Ivan Lipski <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions