]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Remove redundant condition with DEADCODE
authorIvan Lipski <ivlipski@amd.com>
Tue, 4 Jun 2024 14:22:31 +0000 (10:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jun 2024 20:18:54 +0000 (16:18 -0400)
commit9061707976c68899cf2f3b9117c5bbcee8e6872c
treefa5d60103ea55e715fb0876c23b5b4b2aa0b22ab
parent6b6d38c5086f9c401f4444485a72a931356314e5
drm/amd/display: Remove redundant condition with DEADCODE

[WHY]
Coverity analysis flagged this condition as DEADCODE since the
variable 'req128_c' is always false, thus the condition is never
true.

[HOW]
Remove the condition.

Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Ivan Lipski <ivlipski@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c