未验证 提交 b12f1e3a 编写于 作者: K Kuninori Morimoto 提交者: Mark Brown

ASoC: rsnd: tidyup rsnd_mod_next() for loop method

Let's remove point less "continue"
Signed-off-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 138f8786
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册