]> Git Repo - linux.git/commit
drm/amd/display: Remove redundant var from display_rq_dig_calc in dml
authorIvan Lipski <[email protected]>
Fri, 7 Jun 2024 14:10:38 +0000 (10:10 -0400)
committerAlex Deucher <[email protected]>
Thu, 27 Jun 2024 21:10:35 +0000 (17:10 -0400)
commit4fa0046f11d998c39689ece909b912527081e558
treed203fee46fc20e1d466a9dbb0a9ac294d02e7493
parent8aa5aff2bf2d5cf793946f1415dfbeea9f936ad5
drm/amd/display: Remove redundant var from display_rq_dig_calc in dml

[WHY]
Coverity analysis flagged these files as containing DEADCODE, i. e.
redundant or unreachabale. In these files, variable 'mode_422' is
always the same file (0 or false), so any code logic with it is
redundant.

[HOW]
Removed 'mode_422' variable and all code with it from
'display_rq_dlg_calc_' functions in dml.

Reviewed-by: Alex Hung <[email protected]>
Signed-off-by: Alex Hung <[email protected]>
Signed-off-by: Ivan Lipski <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c
drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c
drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c
drivers/gpu/drm/amd/display/dc/dml/dcn30/display_rq_dlg_calc_30.c
drivers/gpu/drm/amd/display/dc/dml/dcn31/display_rq_dlg_calc_31.c
drivers/gpu/drm/amd/display/dc/dml/dcn314/display_rq_dlg_calc_314.c
This page took 0.056148 seconds and 4 git commands to generate.