]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0679295ce333ccbb5f9bdec516fe607ab11b880b
tree2ee1d14462cf0f2ce8256897c2231a741fef4091
parent4c7947e2bb950d03386a8f9809cab1711c0df5f6
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 45a10c91c26d ("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