[03/11] drm/amd/dal/dc: fix warning in dce_link_encoder.c

Submitted by Alex Deucher on Nov. 22, 2016, 4:57 p.m.

Details

Message ID 1479833848-14275-3-git-send-email-alexander.deucher@amd.com
State New
Headers show
Series "Series without cover letter" ( rev: 1 ) in AMD X.Org drivers

Not browsing as part of any series.

Commit Message

Alex Deucher Nov. 22, 2016, 4:57 p.m.
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/amd/dal/dc/dce/dce_link_encoder.c | 1 -
 1 file changed, 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/drivers/gpu/drm/amd/dal/dc/dce/dce_link_encoder.c b/drivers/gpu/drm/amd/dal/dc/dce/dce_link_encoder.c
index 968d418..15a4531 100644
--- a/drivers/gpu/drm/amd/dal/dc/dce/dce_link_encoder.c
+++ b/drivers/gpu/drm/amd/dal/dc/dce/dce_link_encoder.c
@@ -964,7 +964,6 @@  bool dce110_link_encoder_construct(
 	const struct dce110_link_enc_aux_registers *aux_regs,
 	const struct dce110_link_enc_hpd_registers *hpd_regs)
 {
-	struct graphics_object_encoder_cap_info enc_cap_info = {0};
 
 	enc110->base.funcs = &dce110_lnk_enc_funcs;
 	enc110->base.ctx = init_data->ctx;

Comments

Am 22.11.2016 um 17:57 schrieb Alex Deucher:
> Reviewed-by: Harry Wentland <harry.wentland@amd.com>
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> ---
>   drivers/gpu/drm/amd/dal/dc/dce/dce_link_encoder.c | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/dal/dc/dce/dce_link_encoder.c b/drivers/gpu/drm/amd/dal/dc/dce/dce_link_encoder.c
> index 968d418..15a4531 100644
> --- a/drivers/gpu/drm/amd/dal/dc/dce/dce_link_encoder.c
> +++ b/drivers/gpu/drm/amd/dal/dc/dce/dce_link_encoder.c
> @@ -964,7 +964,6 @@ bool dce110_link_encoder_construct(
>   	const struct dce110_link_enc_aux_registers *aux_regs,
>   	const struct dce110_link_enc_hpd_registers *hpd_regs)
>   {
> -	struct graphics_object_encoder_cap_info enc_cap_info = {0};
>   

This new line is probably superfluous now as well.

With this fixed the set is Reviewed-by: Christian König 
<christian.koenig@amd.com>.

Regards,
Christian.

>   	enc110->base.funcs = &dce110_lnk_enc_funcs;
>   	enc110->base.ctx = init_data->ctx;