提交 2172d660 编写于 作者: H Himangi Saraogi 提交者: Michael Ellerman

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: NHimangi Saraogi <himangi774@gmail.com>
Acked-by: NJulia Lawall <julia.lawall@lip6.fr>
Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
上级 9e82bf01
...@@ -555,7 +555,6 @@ static int cmm_mem_going_offline(void *arg) ...@@ -555,7 +555,6 @@ static int cmm_mem_going_offline(void *arg)
pa_last = pa_last->next; pa_last = pa_last->next;
free_page((unsigned long)cmm_page_list); free_page((unsigned long)cmm_page_list);
cmm_page_list = pa_last; cmm_page_list = pa_last;
continue;
} }
} }
pa_curr = pa_curr->next; pa_curr = pa_curr->next;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册