diff options
author | Andy Green <agreen@octopus.localdomain> | 2009-01-31 17:24:13 +0000 |
---|---|---|
committer | Andy Green <agreen@octopus.localdomain> | 2009-01-31 17:24:13 +0000 |
commit | 9deff1b20f0c75b260522ec990a3c55863c30b89 (patch) | |
tree | d71f982842ae9b5206a753ca2f4278ff6dcfa44b /sound/soc/soc-core.c | |
parent | 276bcaddb8cd0fa3cf30d7e2809062fb8b7402eb (diff) |
The continue instead of return is not necessary now, because the DAI
has a dummy inizialization.
Signed-off-by: Michael Trimarchi <michael@panicking.kicks-ass.org>
Diffstat (limited to 'sound/soc/soc-core.c')
-rw-r--r-- | sound/soc/soc-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index ff66d47ab24..62eda261155 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -817,7 +817,7 @@ static void snd_soc_instantiate_card(struct snd_soc_card *card) if (!found) { dev_dbg(card->dev, "DAI %s not registered\n", card->dai_link[i].cpu_dai->name); - continue; + return; } if (card->dai_link[i].cpu_dai->ac97_control) @@ -841,7 +841,7 @@ static void snd_soc_instantiate_card(struct snd_soc_card *card) if (!found) { dev_dbg(card->dev, "DAI %s not registered\n", card->dai_link[i].codec_dai->name); - continue; + return; } } |