drm/amd/display: Fix unused variable compilation error
authorLeo (Sunpeng) Li <sunpeng.li@amd.com>
Fri, 12 Jan 2018 20:47:48 +0000 (15:47 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:18:42 +0000 (14:18 -0500)
commit9557080196d7c328aa514d2303a2fd7a985c5c2d
treee53c5d11e84554595030285201daea6102ca77ba
parent41b497421a1f07ab99814da740984f907747120b
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 <sunpeng.li@amd.com>
Reviewed-by: Wesley Chalmers <Wesley.Chalmers@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/dce110/dce110_hw_sequencer.c