diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-01-23 14:30:09 (GMT) |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-01-27 11:30:38 (GMT) |
commit | d04fa5a3ba06c3b7a1c4a6860d0fa4825507a755 (patch) | |
tree | e17ac53c5bb9b60839d4722533fb0b6ba1c87027 /scripts/checkpatch.pl | |
parent | 10389a15e25fd4784d42de7e0e3fc8c242f2011d (diff) | |
download | linux-d04fa5a3ba06c3b7a1c4a6860d0fa4825507a755.tar.xz |
locking: Remove deprecated lock initializers
Last users are gone. Remove the left overs.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-x | scripts/checkpatch.pl | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 4c0383d..58848e3 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -2654,11 +2654,6 @@ sub process { WARN("Use of volatile is usually wrong: see Documentation/volatile-considered-harmful.txt\n" . $herecurr); } -# SPIN_LOCK_UNLOCKED & RW_LOCK_UNLOCKED are deprecated - if ($line =~ /\b(SPIN_LOCK_UNLOCKED|RW_LOCK_UNLOCKED)/) { - ERROR("Use of $1 is deprecated: see Documentation/spinlocks.txt\n" . $herecurr); - } - # warn about #if 0 if ($line =~ /^.\s*\#\s*if\s+0\b/) { CHK("if this code is redundant consider removing it\n" . |