drm/amd/display: remove set but not used variable 'speakers' in dce_stream_encoder.c
authorZheng Bin <zhengbin13@huawei.com>
Thu, 30 Apr 2020 03:40:33 +0000 (11:40 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Apr 2020 20:49:12 +0000 (16:49 -0400)
commit83700e20b8707cb90bb64f87e24c3359aa5641da
tree5ce25bf6411dc5fe2d6e72808a36dd4309bfa7c8
parent509c58189c8d695ef9cd12093a22ddbd6cdb8d71
drm/amd/display: remove set but not used variable 'speakers' in dce_stream_encoder.c

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c:1339:11: warning: variable ‘speakers’ set but not used [-Wunused-but-set-variable]

It is introduced by commit 4562236b3bc0 ("drm/amd/dc:
Add dc display driver (v2)"), but never used, so remove it.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zheng Bin <zhengbin13@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c