[PATCH] ASoC: pxa: remove unnecessary assignment to variable ret
From: Jing Xiangfeng
Date: Tue Sep 29 2020 - 22:53:15 EST
ret is always zero here in this code path. So remove this assignment.
Signed-off-by: Jing Xiangfeng <jingxiangfeng@xxxxxxxxxx>
---
sound/arm/pxa2xx-ac97.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/arm/pxa2xx-ac97.c b/sound/arm/pxa2xx-ac97.c
index ea8e233150c8..813e608dca82 100644
--- a/sound/arm/pxa2xx-ac97.c
+++ b/sound/arm/pxa2xx-ac97.c
@@ -210,7 +210,6 @@ static int pxa2xx_ac97_pcm_new(struct snd_card *card)
goto out;
pxa2xx_ac97_pcm = pcm;
- ret = 0;
out:
return ret;
--
2.17.1