Commit b12f1e3a authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown

ASoC: rsnd: tidyup rsnd_mod_next() for loop method

Let's remove point less "continue"
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 138f8786
...@@ -408,10 +408,8 @@ struct rsnd_mod *rsnd_mod_next(int *iterator, ...@@ -408,10 +408,8 @@ struct rsnd_mod *rsnd_mod_next(int *iterator,
for (; *iterator < max; (*iterator)++) { for (; *iterator < max; (*iterator)++) {
type = (array) ? array[*iterator] : *iterator; type = (array) ? array[*iterator] : *iterator;
mod = rsnd_io_to_mod(io, type); mod = rsnd_io_to_mod(io, type);
if (!mod) if (mod)
continue; return mod;
return mod;
} }
return NULL; return NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment