[PATCH 32/39] drm/amd/dal: fix warning in dce110_hw_sequencer.c

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


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

Change-Id: I53e4a0d4f66d6d09aef1d153e8d1f5eb3177bc4b
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/dce110/dce110_hw_sequencer.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/gpu/drm/amd/dal/dc/dce110/dce110_hw_sequencer.c b/drivers/gpu/drm/amd/dal/dc/dce110/dce110_hw_sequencer.c
index 74e1a191cfbe..484840efe58d 100644
--- a/drivers/gpu/drm/amd/dal/dc/dce110/dce110_hw_sequencer.c
+++ b/drivers/gpu/drm/amd/dal/dc/dce110/dce110_hw_sequencer.c
@@ -1161,7 +1161,6 @@ static enum dc_status apply_ctx_to_hw_fpga(
 {
 	enum dc_status status = DC_ERROR_UNEXPECTED;
 	int i;
-	struct dc_bios *dcb = dc->ctx->dc_bios;
 
 	for (i = 0; i < context->res_ctx.pool->pipe_count; i++) {
 		struct pipe_ctx *pipe_ctx_old =
@@ -1414,7 +1413,6 @@ static void set_plane_config(
 	struct resource_context *res_ctx)
 {
 	struct mem_input *mi = pipe_ctx->mi;
-	struct dc_context *ctx = pipe_ctx->stream->ctx;
 	struct core_surface *surface = pipe_ctx->surface;
 	struct xfm_grph_csc_adjustment adjust;
 	struct out_csc_color_matrix tbl_entry;
@@ -1750,7 +1748,6 @@ static void dce110_program_front_end_for_pipe(
 {
 	struct mem_input *mi = pipe_ctx->mi;
 	struct pipe_ctx *old_pipe = NULL;
-	struct dc_context *ctx = pipe_ctx->stream->ctx;
 	struct core_surface *surface = pipe_ctx->surface;
 	struct xfm_grph_csc_adjustment adjust;
 	struct out_csc_color_matrix tbl_entry;
-- 
2.10.1



More information about the amd-gfx mailing list