From: Leo (Sunpeng) Li Date: Wed, 8 Nov 2017 17:00:51 +0000 (-0500) Subject: drm/amd/display: Fix unused variable warning X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=105f6ab86cc26eaa3ee9b4845d90c8b6a0571534;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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 0bc1cb889992..d0f46e13efca 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 ?