lkml.org 
[lkml]   [2020]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] ASoC: pxa: remove unnecessary assignment to variable ret
Date
ret is always zero here in this code path. So remove this assignment.

Signed-off-by: Jing Xiangfeng <jingxiangfeng@huawei.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
\
 
 \ /
  Last update: 2020-09-30 04:54    [W:0.029 / U:0.856 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site