[PATCH] Make kmem_cache_destroy() return void
authorAlexey Dobriyan <adobriyan@gmail.com>
Wed, 27 Sep 2006 08:49:41 +0000 (01:49 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 27 Sep 2006 15:26:11 +0000 (08:26 -0700)
commit133d205a18b7a4d8cb52959c5310f6664277cf61
treebe3056dedc3190d06647a07425e8fcdcce5da868
parent1a1d92c10dd24bbdc28b3d6e2d03ec199dd3a65b
[PATCH] Make kmem_cache_destroy() return void

un-, de-, -free, -destroy, -exit, etc functions should in general return
void.  Also,

There is very little, say, filesystem driver code can do upon failed
kmem_cache_destroy().  If it will be decided to BUG in this case, BUG
should be put in generic code, instead.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/slab.h
mm/slab.c
mm/slob.c