diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2021-02-10 09:52:48 +0100 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-02-10 14:44:40 +0100 |
commit | 6c80408a8a0360fa9223b8c21c0ab8ef42e88bfe (patch) | |
tree | 90c429d232da5cc5a773b0f85de7b25829c55981 /scripts | |
parent | locking/mutex: Kill mutex_trylock_recursive() (diff) | |
download | linux-6c80408a8a0360fa9223b8c21c0ab8ef42e88bfe.tar.xz linux-6c80408a8a0360fa9223b8c21c0ab8ef42e88bfe.zip |
checkpatch: Don't check for mutex_trylock_recursive()
mutex_trylock_recursive() has been removed from the tree, there is no
need to check for it.
Remove traces of mutex_trylock_recursive()'s existence.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20210210085248.219210-3-bigeasy@linutronix.de
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/checkpatch.pl | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 92e888ed939f..15f7f4fa6b99 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -7069,12 +7069,6 @@ sub process { } } -# check for mutex_trylock_recursive usage - if ($line =~ /mutex_trylock_recursive/) { - ERROR("LOCKING", - "recursive locking is bad, do not use this ever.\n" . $herecurr); - } - # check for lockdep_set_novalidate_class if ($line =~ /^.\s*lockdep_set_novalidate_class\s*\(/ || $line =~ /__lockdep_no_validate__\s*\)/ ) { |