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:
parent
138f878647
commit
b12f1e3a79
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user