drm/amd/display: Fix unused variable warning
authorLeo (Sunpeng) Li <sunpeng.li@amd.com>
Wed, 8 Nov 2017 17:00:51 +0000 (12:00 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:47:43 +0000 (12:47 -0500)
'struct mpc *mpc' is not used.

Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c

index 0bc1cb88999242ec5eac7a1574eaae1832be3011..d0f46e13efcaaacfe8b2ed4edd636a00db4ddf34 100644 (file)
@@ -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 ?