* [PATCH] Remove the unused kmalloc_percpu_init()
@ 2004-01-30 20:47 Martin Hicks
0 siblings, 0 replies; only message in thread
From: Martin Hicks @ 2004-01-30 20:47 UTC (permalink / raw)
To: Linus Torvalds, Andrew Morton; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 247 bytes --]
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@wildopensource.com 613-266-2296
[-- Attachment #2: remove-kmalloc_percpu_init.diff --]
[-- Type: text/plain, Size: 1004 bytes --]
# 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@green.i.bork.org 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 */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-01-30 20:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-30 20:47 [PATCH] Remove the unused kmalloc_percpu_init() Martin Hicks
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox