summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/module.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/module.c b/kernel/module.c
index a25596c51..6e3534a15 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -350,7 +350,6 @@ err0:
return error;
}
-#endif /* CONFIG_MODULES */
static spinlock_t unload_lock = SPIN_LOCK_UNLOCKED;
int try_inc_mod_count(struct module *mod)
{
@@ -365,7 +364,6 @@ int try_inc_mod_count(struct module *mod)
}
return res;
}
-#ifdef CONFIG_MODULES /* a *big* #ifdef block... */
asmlinkage long
sys_delete_module(const char *name_user)