projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e82bf0
)
powerpc/pseries: Drop unnecessary continue
author
Himangi Saraogi
<himangi774@gmail.com>
Wed, 13 Aug 2014 09:18:47 +0000
(14:48 +0530)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Tue, 23 Sep 2014 01:00:40 +0000
(11:00 +1000)
Continue is not needed at the bottom of a loop.
The Coccinelle semantic patch implementing this change is:
@@
@@
for (...;...;...) {
...
if (...) {
...
- continue;
}
}
Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/pseries/cmm.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/pseries/cmm.c
b/arch/powerpc/platforms/pseries/cmm.c
index 2d8bf15879fdd3e14da6c8c46f6bbeaf7ab3f138..fc44ad0475f845e6787e387511b2848698cb333e 100644
(file)
--- a/
arch/powerpc/platforms/pseries/cmm.c
+++ b/
arch/powerpc/platforms/pseries/cmm.c
@@
-555,7
+555,6
@@
static int cmm_mem_going_offline(void *arg)
pa_last = pa_last->next;
free_page((unsigned long)cmm_page_list);
cmm_page_list = pa_last;
- continue;
}
}
pa_curr = pa_curr->next;