diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-07-17 20:18:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-17 20:26:43 -0400 |
commit | cb32da0416b823b7f4b65e7e85d6cba16ca4d1e1 (patch) | |
tree | 1d09075441ae985fbdb4347b6b63da1ed7fcc754 /include | |
parent | 1985026d32e69ed6dac3ba0ef8ff10366f060ed3 (diff) |
slob: Kill off duplicate kzalloc() definition.
With the slab zeroing allocations cleanups Christoph stubbed in a generic
kzalloc(), which was missed on SLOB. Follow the SLAB/SLUB changes and
kill off the __kzalloc() wrapper that SLOB was using.
Reported-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/slob_def.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/slob_def.h b/include/linux/slob_def.h index a2daf2d418a9..59a3fa476ab9 100644 --- a/include/linux/slob_def.h +++ b/include/linux/slob_def.h | |||
@@ -33,14 +33,4 @@ static inline void *__kmalloc(size_t size, gfp_t flags) | |||
33 | return kmalloc(size, flags); | 33 | return kmalloc(size, flags); |
34 | } | 34 | } |
35 | 35 | ||
36 | /** | ||
37 | * kzalloc - allocate memory. The memory is set to zero. | ||
38 | * @size: how many bytes of memory are required. | ||
39 | * @flags: the type of memory to allocate (see kcalloc). | ||
40 | */ | ||
41 | static inline void *kzalloc(size_t size, gfp_t flags) | ||
42 | { | ||
43 | return __kzalloc(size, flags); | ||
44 | } | ||
45 | |||
46 | #endif /* __LINUX_SLOB_DEF_H */ | 36 | #endif /* __LINUX_SLOB_DEF_H */ |