[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20200930025240.93345-1-jingxiangfeng@huawei.com>
Date: Wed, 30 Sep 2020 10:52:40 +0800
From: Jing Xiangfeng <jingxiangfeng@...wei.com>
To: <daniel@...que.org>, <haojian.zhuang@...il.com>,
<robert.jarzmik@...e.fr>, <perex@...ex.cz>, <tiwai@...e.com>
CC: <linux-arm-kernel@...ts.infradead.org>,
<alsa-devel@...a-project.org>, <linux-kernel@...r.kernel.org>,
<jingxiangfeng@...wei.com>
Subject: [PATCH] ASoC: pxa: remove unnecessary assignment to variable ret
ret is always zero here in this code path. So remove this assignment.
Signed-off-by: Jing Xiangfeng <jingxiangfeng@...wei.com>
---
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
Powered by blists - more mailing lists