Skip to contentSkip to conversation

Remove the unused kmalloc_percpu_init()

PATCH New Martin Hicks 1 participant 1 message Jan 30, 2004 Per-CPU memory allocator

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove the unused kmalloc_percpu_init()

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

Signature · 2 lines
Martin Hicks                Wild Open Source Inc.
[email protected]     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 [email protected] 1.1529
# Remove the unused kmalloc_percpu_init()
# --------------------------------------------
#

include/linux/percpu.h +0 -2
diff -Nru a/include/linux/percpu.h b/include/linux/percpu.h
@@ -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 */