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>
This commit is contained in:
Kuninori Morimoto 2017-10-31 00:38:36 +00:00 committed by Mark Brown
parent 138f878647
commit b12f1e3a79
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -408,10 +408,8 @@ struct rsnd_mod *rsnd_mod_next(int *iterator,
for (; *iterator < max; (*iterator)++) {
type = (array) ? array[*iterator] : *iterator;
mod = rsnd_io_to_mod(io, type);
if (!mod)
continue;
return mod;
if (mod)
return mod;
}
return NULL;