forked from Minki/linux
slab: remove duplicate kmem_cache_init_late() declarations
kmem_cache_init_late() has been declared in slab.h CC: Nick Piggin <npiggin@suse.de> CC: Matt Mackall <mpm@selenic.com> CC: Christoph Lameter <cl@linux-foundation.org> Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
This commit is contained in:
parent
ed680c4ad4
commit
bbff2e433e
@ -34,9 +34,4 @@ static __always_inline void *__kmalloc(size_t size, gfp_t flags)
|
||||
return kmalloc(size, flags);
|
||||
}
|
||||
|
||||
static inline void kmem_cache_init_late(void)
|
||||
{
|
||||
/* Nothing to do */
|
||||
}
|
||||
|
||||
#endif /* __LINUX_SLOB_DEF_H */
|
||||
|
@ -304,6 +304,4 @@ static __always_inline void *kmalloc_node(size_t size, gfp_t flags, int node)
|
||||
}
|
||||
#endif
|
||||
|
||||
void __init kmem_cache_init_late(void);
|
||||
|
||||
#endif /* _LINUX_SLUB_DEF_H */
|
||||
|
Loading…
Reference in New Issue
Block a user