drm/amd/display: remove set but not used variable 'speakers' in dcn10_stream_encoder.c
authorZheng Bin <zhengbin13@huawei.com>
Thu, 30 Apr 2020 03:40:34 +0000 (11:40 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Apr 2020 20:49:14 +0000 (16:49 -0400)
commit3fac052825183fb5ecc7a3d2024564eddab05ac1
tree2ee1d14462cf0f2ce8256897c2231a741fef4091
parent83700e20b8707cb90bb64f87e24c3359aa5641da
drm/amd/display: remove set but not used variable 'speakers' in dcn10_stream_encoder.c

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

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

It is introduced by commit 0c41891c81c0 ("drm/amd/display:
Refactor stream encoder for HW review"), 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/dcn10/dcn10_stream_encoder.c