aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/gfxhub_v1_2.c
diff options
context:
space:
mode:
authorIvan Lipski <ivlipski@amd.com>2024-06-07 10:10:38 -0400
committerAlex Deucher <alexander.deucher@amd.com>2024-06-27 17:10:35 -0400
commit4fa0046f11d998c39689ece909b912527081e558 (patch)
treed203fee46fc20e1d466a9dbb0a9ac294d02e7493 /drivers/gpu/drm/amd/amdgpu/gfxhub_v1_2.c
parent8aa5aff2bf2d5cf793946f1415dfbeea9f936ad5 (diff)
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 <alex.hung@amd.com> Signed-off-by: Alex Hung <alex.hung@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 'drivers/gpu/drm/amd/amdgpu/gfxhub_v1_2.c')
0 files changed, 0 insertions, 0 deletions