From: Adrian Bunk Make the following needlessly global functions static: - drop_pagecache() - drop_slab() Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton --- fs/drop_caches.c | 4 ++-- include/linux/mm.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff -puN fs/drop_caches.c~fs-drop_cachesc-make-2-functions-static fs/drop_caches.c --- a/fs/drop_caches.c~fs-drop_cachesc-make-2-functions-static +++ a/fs/drop_caches.c @@ -25,7 +25,7 @@ static void drop_pagecache_sb(struct sup spin_unlock(&inode_lock); } -void drop_pagecache(void) +static void drop_pagecache(void) { struct super_block *sb; @@ -45,7 +45,7 @@ restart: spin_unlock(&sb_lock); } -void drop_slab(void) +static void drop_slab(void) { int nr_objects; diff -puN include/linux/mm.h~fs-drop_cachesc-make-2-functions-static include/linux/mm.h --- a/include/linux/mm.h~fs-drop_cachesc-make-2-functions-static +++ a/include/linux/mm.h @@ -1230,8 +1230,6 @@ int drop_caches_sysctl_handler(struct ct void __user *, size_t *, loff_t *); unsigned long shrink_slab(unsigned long scanned, gfp_t gfp_mask, unsigned long lru_pages); -void drop_pagecache(void); -void drop_slab(void); #ifndef CONFIG_MMU #define randomize_va_space 0 _