2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/gpu/drm/amd/display/dc/dml/dcn31
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
..
dcn31_fpu.c drm/amd/display: Remove legacy code in DC 2024-04-30 09:52:51 -04:00
dcn31_fpu.h drm/amd/display: Move define to the proper header 2024-03-20 13:38:12 -04:00
display_mode_vba_31.c drm/amd/display: Remove unnecessary assignments 2024-10-07 14:16:58 -04:00
display_mode_vba_31.h
display_rq_dlg_calc_31.c drm/amd/display: Remove redundant assignments 2024-10-07 14:17:05 -04:00
display_rq_dlg_calc_31.h drm/amd/display: Pass display_pipe_params_st as const in DML 2021-09-23 15:17:29 -04:00