From 9deff1b20f0c75b260522ec990a3c55863c30b89 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Sat, 31 Jan 2009 17:24:13 +0000 Subject: The continue instead of return is not necessary now, because the DAI has a dummy inizialization. Signed-off-by: Michael Trimarchi --- sound/soc/soc-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sound/soc/soc-core.c') 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; } } -- cgit v1.2.3