summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorIvan Lipski <ivlipski@amd.com>2024-05-31 21:48:41 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-06-14 23:17:13 +0300
commit223ac8b6f57a60f3262453a4bd3d3366842ced0f (patch)
treefc3bce6a9808e9b3a658cde07017aa982e77fbbc /scripts
parentdea54d186caf004da44c9b61d6ad0cb51c818cfa (diff)
downloadlinux-223ac8b6f57a60f3262453a4bd3d3366842ced0f.tar.xz
drm/amd/display: Remove redundant if conditions
[WHY] Coverity analysis flagged the two if conditions in dcn30_dpp.c and dcn401_dpp.c as DEADCODE since they are never true, since the variable 'program_prealpha_dealpha' is initialized at 0 and never chagnes. [HOW] Removed the variable 'program_prealpha_dealpha' and the if conditions. 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