summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
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