From 0b7d79ffb397eb845e5f8de93396d65dbd0e8abd Mon Sep 17 00:00:00 2001 From: Adrian Bunk Date: Fri, 7 Jan 2005 22:28:40 -0800 Subject: [PATCH] small proc_fs cleanups The patch below does the following cleanups in the proc_fs code: - remove an unused global function - make two functions static Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- include/linux/proc_fs.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include/linux') diff --git a/include/linux/proc_fs.h b/include/linux/proc_fs.h index 14b0b41e5ecc..59e505261fd6 100644 --- a/include/linux/proc_fs.h +++ b/include/linux/proc_fs.h @@ -231,13 +231,8 @@ extern struct proc_dir_entry proc_root; static inline void kclist_add(struct kcore_list *new, void *addr, size_t size) { } -static inline struct kcore_list * kclist_del(void *addr) -{ - return NULL; -} #else extern void kclist_add(struct kcore_list *, void *, size_t); -extern struct kcore_list *kclist_del(void *); #endif struct proc_inode { -- cgit v1.2.3