slub: remove impossible condition
commit7738dd9e8f2bc1c249e00c9c20e018448fac0084
authorDavid Rientjes <rientjes@google.com>
Fri, 15 Jan 2010 20:49:56 +0000 (15 12:49 -0800)
committerPekka Enberg <penberg@cs.helsinki.fi>
Fri, 22 Jan 2010 16:33:36 +0000 (22 18:33 +0200)
tree2127dd8ada9cbcf83169e3de823dfe640de0e83a
parent84e554e6865c4f4ae84d38800cf270b9a67901cc
slub: remove impossible condition

`s' cannot be NULL if kmalloc_caches is not NULL.

This conditional would trigger a NULL pointer on `s', anyway, since it is
immediately derefernced if true.

Acked-by: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
mm/slub.c