From: Wan Jiabing Date: Tue, 15 Jun 2021 11:44:01 +0000 (+0800) Subject: drm: display: Fix duplicate field initialization in dcn31 X-Git-Tag: v5.14-rc1~114^2~7^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a4b0b97aace09716a635e1a64c7e54e51f4a0f51;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Wan Jiabing Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c index 0d6cb6caad811..c67bc9544f5d9 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c +++ b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c @@ -934,7 +934,6 @@ static const struct dc_debug_options debug_defaults_drv = { .dmub_command_table = true, .pstate_enabled = true, .use_max_lb = true, - .pstate_enabled = true, .enable_mem_low_power = { .bits = { .vga = false,