aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/generic
diff options
context:
space:
mode:
authorXiubo Li <Li.Xiubo@freescale.com>2013-12-23 00:24:59 -0500
committerMark Brown <broonie@linaro.org>2013-12-31 07:48:28 -0500
commite874ddead38996ec40c6a6be2347a69fac520126 (patch)
tree12c845a5b8effb5b93dd691ed15f7f156def5ceb /sound/soc/generic
parentd4c22094b256a7327346738721b89a78d4680b08 (diff)
ASoC: simple-card: Cleanup __asoc_simple_card_dai_init() ret check
The ret parameter is always equal to zero till here. Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/generic')
-rw-r--r--sound/soc/generic/simple-card.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c
index 6230efb05fd7..3ba65bb63439 100644
--- a/sound/soc/generic/simple-card.c
+++ b/sound/soc/generic/simple-card.c
@@ -25,7 +25,7 @@ static int __asoc_simple_card_dai_init(struct snd_soc_dai *dai,
25 25
26 daifmt |= set->fmt; 26 daifmt |= set->fmt;
27 27
28 if (!ret && daifmt) 28 if (daifmt)
29 ret = snd_soc_dai_set_fmt(dai, daifmt); 29 ret = snd_soc_dai_set_fmt(dai, daifmt);
30 30
31 if (ret == -ENOTSUPP) { 31 if (ret == -ENOTSUPP) {