aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2017-10-30 20:38:36 -0400
committerMark Brown <broonie@kernel.org>2017-10-31 07:06:35 -0400
commitb12f1e3a798e19727ca632d92abe619b418ad0d0 (patch)
tree32d29ea0639c804198ef2b41697fe8a6da225547
parent138f878647f2ac0d7700f669b860cb130306e062 (diff)
ASoC: rsnd: tidyup rsnd_mod_next() for loop method
Let's remove point less "continue" Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/sh/rcar/core.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/soc/sh/rcar/core.c b/sound/soc/sh/rcar/core.c
index b338c0009506..8fc3bf2b20f5 100644
--- a/sound/soc/sh/rcar/core.c
+++ b/sound/soc/sh/rcar/core.c
@@ -408,10 +408,8 @@ struct rsnd_mod *rsnd_mod_next(int *iterator,
408 for (; *iterator < max; (*iterator)++) { 408 for (; *iterator < max; (*iterator)++) {
409 type = (array) ? array[*iterator] : *iterator; 409 type = (array) ? array[*iterator] : *iterator;
410 mod = rsnd_io_to_mod(io, type); 410 mod = rsnd_io_to_mod(io, type);
411 if (!mod) 411 if (mod)
412 continue; 412 return mod;
413
414 return mod;
415 } 413 }
416 414
417 return NULL; 415 return NULL;