Skip to contentSkip to conversation

module: Remove outdated comment

PATCH Applied Yu Chen 2 participants 2 messages Nov 22, 2021 – Dec 8, 2021

lore
Share & tools
lore

Yu Chen

author
#0 lore raw

PATCH 1/1 module: Remove outdated comment

Since commit e513cc1c07e2 ("module: Remove stop_machine from module unloading") this comment is no longer correct. Remove it.

---
 kernel/module.c | 1 -
 1 file changed, 1 deletion(-)
kernel/module.c +0 -1
index 84a9141..320ec90 100644
@@ -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;
Signature · 1 line
2.25.1
#1 lore raw
Quoted 4 lines · Yu Chen

Since commit e513cc1c07e2 ("module: Remove stop_machine from module unloading") this comment is no longer correct. Remove it.

Queued up, thanks!

Luis