summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorIvan Lipski <ivlipski@amd.com>2024-05-31 23:31:02 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-06-14 23:17:13 +0300
commit3c6ad7320b32fc5de1cd9a5b092dc1d5a3cd0348 (patch)
tree9e19a2f61e3315483629133f6382beef9e5b728b /scripts
parent223ac8b6f57a60f3262453a4bd3d3366842ced0f (diff)
downloadlinux-3c6ad7320b32fc5de1cd9a5b092dc1d5a3cd0348.tar.xz
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 <zaeem.mohamed@amd.com> Signed-off-by: Ivan Lipski <ivlipski@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions