From 105f6ab86cc26eaa3ee9b4845d90c8b6a0571534 Mon Sep 17 00:00:00 2001 From: "Leo (Sunpeng) Li" Date: Wed, 8 Nov 2017 12:00:51 -0500 Subject: [PATCH] drm/amd/display: Fix unused variable warning 'struct mpc *mpc' is not used. Signed-off-by: Leo (Sunpeng) Li Reviewed-by: Tony Cheng Acked-by: Harry Wentland Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c index 0bc1cb8..d0f46e1 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c +++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c @@ -431,7 +431,6 @@ static enum dc_status dcn10_prog_pixclk_crtc_otg( struct dc *dc) { struct dc_stream_state *stream = pipe_ctx->stream; - struct mpc *mpc = dc->res_pool->mpc; enum dc_color_space color_space; struct tg_color black_color = {0}; bool enableStereo = stream->timing.timing_3d_format == TIMING_3D_FORMAT_NONE ? -- 2.7.4