ASoC: AMD: remove unused ‘dma_buffer’
authorVinod Koul <vinod.koul@intel.com>
Thu, 8 Dec 2016 17:31:30 +0000 (23:01 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 15 Dec 2016 11:20:59 +0000 (11:20 +0000)
commit30cd849771b56b2b71fe7ec5f090b86513a14b6d
tree4947e825c0f5db9ccccf978af615d01be6f609de
parenta5de5b74a50113564a1e0850e2da96c37c35e55d
ASoC: AMD: remove unused ‘dma_buffer’

In acp_dma_hw_params(), 'dma_buffer' is initialized, but not used. So
remove it.

sound/soc/amd/acp-pcm-dma.c: In function ‘acp_dma_hw_params’:
sound/soc/amd/acp-pcm-dma.c:673:25: warning: variable ‘dma_buffer’ set but not used [-Wunused-but-set-variable]
  struct snd_dma_buffer *dma_buffer;

Cc: Maruthi Bayyavarapu <maruthi.bayyavarapu@amd.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp-pcm-dma.c