mm/slab.c: use list_for_each_entry in cache_flusharray
authorGeliang Tang <geliangtang@163.com>
Thu, 14 Jan 2016 23:17:59 +0000 (15:17 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 15 Jan 2016 00:00:49 +0000 (16:00 -0800)
commit73c0219d8eca4114d81626032055598bc0a17130
tree60b985df537de1105c8f5e0f51e9b0353ff22670
parentd8ad47d83f95abe2dfece1338633e376fec3bd31
mm/slab.c: use list_for_each_entry in cache_flusharray

Simplify the code with list_for_each_entry().

Signed-off-by: Geliang Tang <geliangtang@163.com>
Acked-by: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/slab.c