summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorCoywolf Qi Hunt <coywolf@gmail.com>2005-01-04 05:37:34 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-01-04 05:37:34 -0800
commit8baf8d2a74f77fc52a868b2f60c09789a6b5463e (patch)
tree301fea1c41d7b9fbf459f63e054ec38fa3504e17 /kernel
parent2612d7a4610222e8a6fac3ffe0574438bdf3ae64 (diff)
[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 <coywolf@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/module.c7
1 files changed, 0 insertions, 7 deletions
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