From 30575f5df7eff7fe3d17d6d162d156a8f061250a Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Tue, 3 Feb 2004 18:50:46 -0800 Subject: [PATCH] [PATCH] Remove the unused kmalloc_percpu_init() From: Martin Hicks This patch removes kmalloc_percpu_init() from include/linux/percpu.h It is unused and doesn't seem to be required. --- include/linux/percpu.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/percpu.h b/include/linux/percpu.h index 9e637260e58f7..6aedd71cc02ca 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 */ -- 2.53.0