[patch] removes redundant sys_delete_module()

From: Coywolf Qi Hunt
Date: Thu Dec 30 2004 - 04:55:26 EST


Peter Chubb recently splitted 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@xxxxxxxxx>

module.c | 7 -------
1 files changed, 7 deletions(-)

diff -Nurp 2.6.10/kernel/module.c 2.6.10-cy/kernel/module.c
--- 2.6.10/kernel/module.c 2004-12-29 01:29:40.000000000 +0800
+++ 2.6.10-cy/kernel/module.c 2004-12-30 17:17:41.000000000 +0800
@@ -681,13 +681,6 @@ static inline int use_module(struct modu
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

--
Coywolf Qi Hunt
Homepage http://sosdg.org/~coywolf/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/