[PATCH] Remove the unused kmalloc_percpu_init()

From: Martin Hicks
Date: Fri Jan 30 2004 - 15:48:34 EST



Hi Linus and Andrew,

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

It is unused and doesn't seem to be required.

Thanks,
mh

--
Martin Hicks Wild Open Source Inc.
mort@xxxxxxxxxxxxxxxxxx 613-266-2296
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.1528 -> 1.1529
# include/linux/percpu.h 1.7 -> 1.8
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 04/01/30 mort@xxxxxxxxxxxxxxxx 1.1529
# Remove the unused kmalloc_percpu_init()
# --------------------------------------------
#
diff -Nru a/include/linux/percpu.h b/include/linux/percpu.h
--- a/include/linux/percpu.h Fri Jan 30 15:26:53 2004
+++ b/include/linux/percpu.h Fri Jan 30 15:26:53 2004
@@ -35,7 +35,6 @@

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 @@
{
kfree(ptr);
}
-static inline void kmalloc_percpu_init(void) { }

#endif /* CONFIG_SMP */