From: Leo (Sunpeng) Li Date: Fri, 12 Jan 2018 20:47:48 +0000 (-0500) Subject: drm/amd/display: Fix unused variable compilation error X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=9557080196d7c328aa514d2303a2fd7a985c5c2d;p=openwrt%2Fstaging%2Fblogic.git drm/amd/display: Fix unused variable compilation error Fix: drivers/gpu/drm/amd/amdgpu/../dal-dev/dc/dce110/dce110_hw_sequencer.c: In function ‘dce110_blank_stream’: drivers/gpu/drm/amd/amdgpu/../dal-dev/dc/dce110/dce110_hw_sequencer.c:1008:31: error: unused variable ‘params’ [-Werror=unused-variable] struct encoder_unblank_param params = { { 0 } }; Signed-off-by: Leo (Sunpeng) Li Reviewed-by: Wesley Chalmers Acked-by: Harry Wentland Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c index cb20d2c2a6ab..d293cafb6418 100644 --- a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c +++ b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c @@ -1005,7 +1005,6 @@ void dce110_unblank_stream(struct pipe_ctx *pipe_ctx, } void dce110_blank_stream(struct pipe_ctx *pipe_ctx) { - struct encoder_unblank_param params = { { 0 } }; struct dc_stream_state *stream = pipe_ctx->stream; struct dc_link *link = stream->sink->link;