From 8baf8d2a74f77fc52a868b2f60c09789a6b5463e Mon Sep 17 00:00:00 2001 From: Coywolf Qi Hunt Date: Tue, 4 Jan 2005 05:37:34 -0800 Subject: [PATCH] remove redundant sys_delete_module() Peter Chubb recently split out a standalone sys_ni.c file for the not implemented syscalls. This patch removes the redundant sys_delete_module() in module.c. Signed-off-by: Coywolf Qi Hunt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- kernel/module.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'kernel') diff --git a/kernel/module.c b/kernel/module.c index 0798443ce002..887ed2510105 100644 --- a/kernel/module.c +++ b/kernel/module.c @@ -681,13 +681,6 @@ static inline int use_module(struct module *a, struct module *b) static inline void module_unload_init(struct module *mod) { } - -asmlinkage long -sys_delete_module(const char __user *name_user, unsigned int flags) -{ - return -ENOSYS; -} - #endif /* CONFIG_MODULE_UNLOAD */ #ifdef CONFIG_OBSOLETE_MODPARM -- cgit v1.2.3