From: Christoph Lameter Date: Fri, 6 Jul 2007 18:17:32 +0000 (-0700) Subject: slub: remove useless EXPORT_SYMBOL X-Git-Tag: v2.6.22~8 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d23cf676d0e9d1fdc066d2dcb7f8bc0e2d4c75bd;p=linux-2.6 slub: remove useless EXPORT_SYMBOL kmem_cache_open is static. EXPORT_SYMBOL was leftover from some earlier time period where kmem_cache_open was usable outside of slub. (Fixes powerpc build error) Signed-off-by: Chrsitoph Lameter Cc: Johannes Berg Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/slub.c b/mm/slub.c index 0437f2f099..e0cf6213ab 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -2020,7 +2020,6 @@ error: s->offset, flags); return 0; } -EXPORT_SYMBOL(kmem_cache_open); /* * Check if a given pointer is valid