[patch] removes redundant sys_delete_module()
From: Coywolf Qi Hunt (coywolf_at_gmail.com)
Date: 12/30/04
- Previous message: Jan-Benedict Glaw: "Re: [RFC 2.6.10 1/22] xfrm: Add direction information to xfrm_state"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 30 Dec 2004 17:54:01 +0800 To: linux-kernel@vger.kernel.org
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@gmail.com>
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Jan-Benedict Glaw: "Re: [RFC 2.6.10 1/22] xfrm: Add direction information to xfrm_state"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: [PATCH] make uselib configurable (was Re: uselib() & 2.6.X?)
... >> The possibility is that there might be unknown applications which use ...
> Until there's a list of obsolete syscalls, we can't say for sure, ... > Even if
the final patch is unable to benefit many users, ... send the line "unsubscribe linux-kernel"
in ... (Linux-Kernel) - Re: [PATCH] RPA PCI Hotplug - redundant free
... Please commit the ... > following patch, which removes a redundant
call to a ... send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - [PATCH 02/05] mm simplify __alloc_pages cpuset ALLOC_* flags
... Thanks to the previous patch, it is equivalent to the setting ... of!ALLOC_NO_WATERMARKS,
so redundant. ... goto got_pg; ... send the line "unsubscribe linux-kernel"
in ... (Linux-Kernel) - Re: [PATCH] use simple_strtoul for unsigned kernel parameters
... Rusty Russell wrote: ... the first part is redundant ... Do you
mean the first part of the comment or the first part of the patch? ... send the line "unsubscribe
linux-kernel" in ... (Linux-Kernel) - Re: [PATCH] crypto: resource release functions ought to check for NULL (crypto_free_tfm)
... > longer do the redundant NULL check. ... Below is a patch to do that.
... Please wait until the free_tfm change gets into the kernel and then ... send
the line "unsubscribe linux-kernel" in ... (Linux-Kernel)