[PATCH 29/39] drm/amd/dal: fix warning in dce_link_encoder.c
Harry Wentland
harry.wentland at amd.com
Thu Nov 24 02:02:58 UTC 2016
From: Alex Deucher <alexander.deucher at amd.com>
Change-Id: I9a95819d9e60915410914ba5b979616f28640045
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
Acked-by: Harry Wentland <harry.wentland at amd.com>
---
drivers/gpu/drm/amd/dal/dc/dce/dce_link_encoder.c | 2 --
1 file changed, 2 deletions(-)
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 968d4187273c..5ca59fa8bcca 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,8 +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;
enc110->base.id = init_data->encoder;
--
2.10.1
More information about the amd-gfx
mailing list