slub: Not necessary to check for empty slab on load_freelist
authorChristoph Lameter <cl@linux.com>
Wed, 1 Jun 2011 17:25:59 +0000 (12:25 -0500)
committerPekka Enberg <penberg@kernel.org>
Sat, 2 Jul 2011 10:26:57 +0000 (13:26 +0300)
commit4eade540fc35353813097bfdb39465c9b8847a15
tree3e92af005f3fea4d84de049764c72fac95150e7c
parent03e404af26dc2ea0d278d7a342de0aab394793ce
slub: Not necessary to check for empty slab on load_freelist

load_freelist is now only branched to only if there are objects available.
So no need to check the object variable for NULL.

Signed-off-by: Pekka Enberg <penberg@kernel.org>
mm/slub.c