Skip to content

Commit c68b455

Browse files
bragathemanickalexdeucher
authored andcommitted
drm/amd/display: avoid variable reinitialization
The member variable enable_hpo_pg_support is already initialized and hence the reinitialization instruction can be removed. Issue identified using the doubleinit.cocci Coccinelle semantic patch script. Signed-off-by: Bragatheswaran Manickavel <bragathemanick0908@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 8cfd6a0 commit c68b455

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,6 @@ static const struct dc_debug_options debug_defaults_drv = {
757757
.disable_boot_optimizations = false,
758758
.disable_unbounded_requesting = false,
759759
.disable_mem_low_power = false,
760-
.enable_hpo_pg_support = false,
761760
//must match enable_single_display_2to1_odm_policy to support dynamic ODM transitions
762761
.enable_double_buffered_dsc_pg_support = true,
763762
.enable_dp_dig_pixel_rate_div_policy = 1,

0 commit comments

Comments
 (0)