Commit 30575f5d authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Remove the unused kmalloc_percpu_init()

From: Martin Hicks <mort@wildopensource.com>

This patch removes kmalloc_percpu_init() from include/linux/percpu.h

It is unused and doesn't seem to be required.
parent 93467f4c
......@@ -35,7 +35,6 @@ struct percpu_data {
extern void *__alloc_percpu(size_t size, size_t align);
extern void free_percpu(const void *);
extern void kmalloc_percpu_init(void);
#else /* CONFIG_SMP */
......@@ -52,7 +51,6 @@ static inline void free_percpu(const void *ptr)
{
kfree(ptr);
}
static inline void kmalloc_percpu_init(void) { }
#endif /* CONFIG_SMP */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment