summaryrefslogtreecommitdiff
path: root/include/linux/percpu.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-02-03 18:50:46 -0800
committerLinus Torvalds <torvalds@home.osdl.org>2004-02-03 18:50:46 -0800
commit30575f5df7eff7fe3d17d6d162d156a8f061250a (patch)
tree6fe22aa76d958f368dc729e184bf9fb742284fb3 /include/linux/percpu.h
parent93467f4c03d71333d7a47f22c63a82bdd89156e8 (diff)
[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.
Diffstat (limited to 'include/linux/percpu.h')
-rw-r--r--include/linux/percpu.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/percpu.h b/include/linux/percpu.h
index 9e637260e58f..6aedd71cc02c 100644
--- a/include/linux/percpu.h
+++ b/include/linux/percpu.h
@@ -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 */