[PATCH 1/3] ASoC: amd: fix kernel warning

Vijendar Mukunda Vijendar.Mukunda at amd.com
Tue May 19 16:34:20 CEST 2020


Removed unused variable from code to fix the kernel warning.

Reported-by: kbuild test robot <lkp at intel.com>
Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda at amd.com>
---
 sound/soc/amd/renoir/acp3x-pdm-dma.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sound/soc/amd/renoir/acp3x-pdm-dma.c b/sound/soc/amd/renoir/acp3x-pdm-dma.c
index 942010021319..b33c7aec7481 100644
--- a/sound/soc/amd/renoir/acp3x-pdm-dma.c
+++ b/sound/soc/amd/renoir/acp3x-pdm-dma.c
@@ -150,12 +150,11 @@ static int start_pdm_dma(void __iomem *acp_base)
 
 static int stop_pdm_dma(void __iomem *acp_base)
 {
-	u32 pdm_enable, pdm_dma_enable, pdm_fifo_flush;
+	u32 pdm_enable, pdm_dma_enable;
 	int timeout;
 
 	pdm_enable = 0x00;
 	pdm_dma_enable  = 0x00;
-	pdm_fifo_flush = 0x00;
 
 	pdm_enable = rn_readl(acp_base + ACP_WOV_PDM_ENABLE);
 	pdm_dma_enable = rn_readl(acp_base + ACP_WOV_PDM_DMA_ENABLE);
-- 
2.26.2



More information about the Alsa-devel mailing list