]> git.baikalelectronics.ru Git - kernel.git/commit
mm/slab.c use list_first_entry_or_null()
authorGeliang Tang <geliangtang@163.com>
Thu, 14 Jan 2016 23:17:56 +0000 (15:17 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 15 Jan 2016 00:00:49 +0000 (16:00 -0800)
commit6dffcfd97256c02f6f9afad6001b209cf099a7e0
tree8c02c6f9c2f84b8ea819c02bb38afa10e4ae7362
parentd1b9246dd888aa817d71ee718a3ee5aa2b17baf2
mm/slab.c use list_first_entry_or_null()

Simplify the code with list_first_entry_or_null().

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