summaryrefslogtreecommitdiff
path: root/kernel/module/tracking.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/module/tracking.c')
-rw-r--r--kernel/module/tracking.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/module/tracking.c b/kernel/module/tracking.c
index 16742d1c630c..4fefec5b683c 100644
--- a/kernel/module/tracking.c
+++ b/kernel/module/tracking.c
@@ -21,8 +21,6 @@ int try_add_tainted_module(struct module *mod)
{
struct mod_unload_taint *mod_taint;
- module_assert_mutex_or_preempt();
-
if (!mod->taints)
goto out;