diff options
author | Himangi Saraogi <himangi774@gmail.com> | 2014-08-13 13:18:47 +0400 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2014-09-23 05:00:40 +0400 |
commit | 2172d6606843cbad58498310a28125e7a700e658 (patch) | |
tree | b78ebaecff26facbad67e7c939b8827ad91b4e1c /arch/powerpc/platforms/pseries | |
parent | 9e82bf014195d6f0054982c463575cdce24292be (diff) | |
download | linux-2172d6606843cbad58498310a28125e7a700e658.tar.xz |
powerpc/pseries: Drop unnecessary continue
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>
Diffstat (limited to 'arch/powerpc/platforms/pseries')
-rw-r--r-- | arch/powerpc/platforms/pseries/cmm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/cmm.c b/arch/powerpc/platforms/pseries/cmm.c index 2d8bf15879fd..fc44ad0475f8 100644 --- 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; |