Skip to contentSkip to conversation

removes redundant sys_delete_module()

PATCH New Coywolf Qi Hunt 1 participant 1 message Dec 30, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 removes redundant sys_delete_module()

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.

 module.c |    7 -------
 1 files changed, 7 deletions(-)
kernel/module.c +0 -7
diff -Nurp 2.6.10/kernel/module.c 2.6.10-cy/kernel/module.c
@@ -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
Signature · 2 lines
Coywolf Qi Hunt
Homepage http://sosdg.org/~coywolf/