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

Christian König deathsimple at vodafone.de
Tue Nov 22 17:01:19 UTC 2016


Am 22.11.2016 um 17:57 schrieb Alex Deucher:
> Reviewed-by: Harry Wentland <harry.wentland at amd.com>
> Signed-off-by: Alex Deucher <alexander.deucher at 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 at amd.com>.

Regards,
Christian.

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




More information about the amd-gfx mailing list