diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2025-01-08 12:04:38 +0300 |
---|---|---|
committer | Petr Pavlu <petr.pavlu@suse.com> | 2025-03-10 13:54:44 +0300 |
commit | 435bbcc3bef602ce3920382f339d3cd65e46ad23 (patch) | |
tree | c03e62f66b4ddc87eb6acf4dbd36478ffe1b25fe /scripts/lib/abi/helpers.py | |
parent | cdd9335c1302dab190cafbd4dff9697b39b8aa6f (diff) | |
download | linux-435bbcc3bef602ce3920382f339d3cd65e46ad23.tar.xz |
module: Remove module_assert_mutex_or_preempt() from try_add_tainted_module().
module_assert_mutex_or_preempt() is not needed in
try_add_tainted_module(). The function checks for RCU-sched or the
module_mutex to be acquired. The list_for_each_entry_rcu() below does
the same check.
Remove module_assert_mutex_or_preempt() from try_add_tainted_module().
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20250108090457.512198-10-bigeasy@linutronix.de
Signed-off-by: Petr Pavlu <petr.pavlu@suse.com>
Diffstat (limited to 'scripts/lib/abi/helpers.py')
0 files changed, 0 insertions, 0 deletions