[PATCH 31/39] drm/amd/dal: fix warning in dal_display_clock_dce112_construct

Harry Wentland harry.wentland at amd.com
Thu Nov 24 02:03:00 UTC 2016


From: Alex Deucher <alexander.deucher at amd.com>

Change-Id: I86d5392afde592ca76a523f8c8cbd07a9cc22c6e
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/gpu/dce112/display_clock_dce112.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/dal/dc/gpu/dce112/display_clock_dce112.c b/drivers/gpu/drm/amd/dal/dc/gpu/dce112/display_clock_dce112.c
index e3290af6d0a6..9b7c9755e316 100644
--- a/drivers/gpu/drm/amd/dal/dc/gpu/dce112/display_clock_dce112.c
+++ b/drivers/gpu/drm/amd/dal/dc/gpu/dce112/display_clock_dce112.c
@@ -842,7 +842,6 @@ bool dal_display_clock_dce112_construct(
 	struct display_clock_dce112 *dc112,
 	struct dc_context *ctx)
 {
-	struct dm_pp_static_clock_info *static_clk_info = {0};
 	struct display_clock *dc_base = &dc112->disp_clk_base;
 
 	/*if (NULL == as)
-- 
2.10.1



More information about the amd-gfx mailing list