• Vinod Koul's avatar
    ASoC: AMD: remove unused ‘dma_buffer’ · 30cd8497
    Vinod Koul authored
    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: default avatarVinod Koul <vinod.koul@intel.com>
    Signed-off-by: default avatarMark Brown <broonie@kernel.org>
    30cd8497
acp-pcm-dma.c 29.3 KB