Skip to content

Commit

Permalink
module: Remove outdated comment
Browse files Browse the repository at this point in the history
Since commit e513cc1 ("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>
Yu Chen authored and Luis Chamberlain committed Jan 12, 2022
1 parent daadb3b commit 9dc3c3f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion kernel/module.c
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 9dc3c3f

Please sign in to comment.