cgroup: list_for_each cleanup
authorKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Fri, 25 Jul 2008 08:46:55 +0000 (01:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:35 +0000 (10:53 -0700)
commit71cbb949d17d4d776abd547135feb7f3282405c8
treedecd47a6cb05a36bb8a2f224b50bd12a8acc862e
parentf2992db2a4f7ae10f61d5bc68c7c1528cec639e2
cgroup: list_for_each cleanup

--------------------------
while() {
list_entry();
...
}
--------------------------

is equivalent to following code.

--------------------------
list_for_each_entry(){
...
}
--------------------------

later can review easily more.

this patch is just clean up.
it doesn't have any behavor change.

Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Paul Menage <menage@google.com>
Cc: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/cgroup.c