summaryrefslogtreecommitdiffstats
path: root/kernel/module.c
diff options
context:
space:
mode:
authorYu Chen <chen.yu@easystack.cn>2021-11-22 15:26:48 +0100
committerLuis Chamberlain <mcgrof@kernel.org>2022-01-12 03:45:02 +0100
commit9dc3c3f691bca10d3aa94887eee33bf629840b23 (patch)
treeaf9eb9dc1abcd5925b3720f4ebaacecefc621fd2 /kernel/module.c
parentMerge tag 'locking_core_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/... (diff)
downloadlinux-9dc3c3f691bca10d3aa94887eee33bf629840b23.tar.xz
linux-9dc3c3f691bca10d3aa94887eee33bf629840b23.zip
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>
Diffstat (limited to 'kernel/module.c')
-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;