ASoC: amd: remove set but not used variable 'dma_buffer'
authorYueHaibing <yuehaibing@huawei.com>
Thu, 15 Nov 2018 01:56:35 +0000 (01:56 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 15 Nov 2018 19:20:34 +0000 (11:20 -0800)
commit424d5b56d020b750803134cc15bbd4d0addaaee7
treeff3d87aa63569bc311d3d37ace3e97d2f14911cd
parentd5a932e541f61a2be1cca7bab1e00d2bf7803e71
ASoC: amd: remove set but not used variable 'dma_buffer'

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

sound/soc/amd/raven/acp3x-pcm-dma.c: In function 'acp3x_dma_hw_params':
sound/soc/amd/raven/acp3x-pcm-dma.c:333:25: warning:
 variable 'dma_buffer' set but not used [-Wunused-but-set-variable]

It never used since introduction in commit
8de1b5ed0337 ("ASoC: amd: add acp3x system resume pm op")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/raven/acp3x-pcm-dma.c