linux-loongson/drivers/gpu/drm/amd/display/dc/dml/dcn21
Alex Hung bcb4a5c6a3 drm/amd/display: Remove redundant assignments
[WHAT & HOW]
log2_blk_height and log2_blk_width are assigned to 0 and then
immediately are updated to other values. The assignments to zero are
redudant and removed.

This fixes 18 UNUSED_VALUE issues reported by Coverity.

Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-10-07 14:17:05 -04:00
..
display_mode_vba_21.c drm/amd/display: Remove unnecessary assignments 2024-10-07 14:16:58 -04:00
display_mode_vba_21.h
display_rq_dlg_calc_21.c drm/amd/display: Remove redundant assignments 2024-10-07 14:17:05 -04:00
display_rq_dlg_calc_21.h drm/amd/display: Pass display_pipe_params_st as const in DML 2021-09-23 15:17:29 -04:00