OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
138f878
)
ASoC: rsnd: tidyup rsnd_mod_next() for loop method
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Tue, 31 Oct 2017 00:38:36 +0000
(
00:38
+0000)
committer
Mark Brown
<broonie@kernel.org>
Tue, 31 Oct 2017 11:06:35 +0000
(11:06 +0000)
Let's remove point less "continue"
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/core.c
patch
|
blob
|
history
diff --git
a/sound/soc/sh/rcar/core.c
b/sound/soc/sh/rcar/core.c
index
b338c00
..
8fc3bf2
100644
(file)
--- 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,
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;