Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Paul Mundt and committed by
Linus Torvalds
cb32da04 1985026d

-10
-10
include/linux/slob_def.h
··· 33 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 36 #endif /* __LINUX_SLOB_DEF_H */