]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4c7947e2bb950d03386a8f9809cab1711c0df5f6
tree5ce25bf6411dc5fe2d6e72808a36dd4309bfa7c8
parent4dd010723ff5d513aa742fbe8c515ff7b66104fa
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 2b1146294221 ("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