slab: Get rid of obj_size macro
authorChristoph Lameter <cl@linux.com>
Wed, 13 Jun 2012 15:24:58 +0000 (10:24 -0500)
committerPekka Enberg <penberg@kernel.org>
Thu, 14 Jun 2012 06:20:19 +0000 (09:20 +0300)
commit8c138bc00925521c4e764269db3a903bd2a51592
tree8c62aed20b2061867c1e6366c587bb4cea89bebd
parent3b0efdfa1e719303536c04d9abca43abeb40f80a
slab: Get rid of obj_size macro

The size of the slab object is frequently needed. Since we now
have a size field directly in the kmem_cache structure there is no
need anymore of the obj_size macro/function.

Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
mm/slab.c