summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Chen <chen.yu@easystack.cn>2021-11-22 06:26:48 -0800
committerLuis Chamberlain <mcgrof@kernel.org>2022-01-11 18:45:02 -0800
commit9dc3c3f691bca10d3aa94887eee33bf629840b23 (patch)
treeaf9eb9dc1abcd5925b3720f4ebaacecefc621fd2
parentdaadb3bd0e8d3e317e36bc2c1542e86c528665e5 (diff)
module: Remove outdated comment
Since commit e513cc1c07e2 ("module: Remove stop_machine from module unloading") this comment is no longer correct. Remove it. Signed-off-by: Yu Chen <chen.yu@easystack.cn> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
-rw-r--r--kernel/module.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/module.c b/kernel/module.c
index 84a9141a5e15..320ec908045f 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -958,7 +958,6 @@ SYSCALL_DEFINE2(delete_module, const char __user *, name_user,
}
}
- /* Stop the machine so refcounts can't move and disable module. */
ret = try_stop_module(mod, flags, &forced);
if (ret != 0)
goto out;