Skip to content

Commit a4b0b97

Browse files
Wan Jiabingalexdeucher
authored andcommitted
drm: display: Fix duplicate field initialization in dcn31
Fix the following coccicheck warning: drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c:917:56-57: pstate_enabled: first occurrence line 935, second occurrence line 937 Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Wan Jiabing <wanjiabing@vivo.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent a7b2451 commit a4b0b97

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -934,7 +934,6 @@ static const struct dc_debug_options debug_defaults_drv = {
934934
.dmub_command_table = true,
935935
.pstate_enabled = true,
936936
.use_max_lb = true,
937-
.pstate_enabled = true,
938937
.enable_mem_low_power = {
939938
.bits = {
940939
.vga = false,

0 commit comments

Comments
 (0)