nvme: unexport nvme_start_keep_alive
[linux-2.6-block.git] / kernel / module.c
index e42764acedb4cd35ccb81d396b1391510b52db25..a6e43a5806a11391b6606b42cc972b13f9eb3828 100644 (file)
@@ -2181,10 +2181,6 @@ static void free_module(struct module *mod)
        /* Finally, free the core (containing the module structure) */
        disable_ro_nx(&mod->core_layout);
        module_memfree(mod->core_layout.base);
-
-#ifdef CONFIG_MPU
-       update_protections(current->mm);
-#endif
 }
 
 void *__symbol_get(const char *symbol)