diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2011-02-21 15:24:58 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2011-02-21 15:24:58 +1100 |
commit | 1e7464fbcc9a9e7e3986ba4b0c3e18d842b7bf72 (patch) | |
tree | c7355af83c07c368c76c065974db49788611a001 /scripts | |
parent | 05b1fc22b40b0182227e2a2a4a793463ea51524d (diff) | |
parent | 38455d3b0a9d59c40822078c9841ee94eaba8f35 (diff) |
Merge remote-tracking branch 'tip/auto-latest'
Diffstat (limited to 'scripts')
-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 4c0383da1c9a..58848e3e392c 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" . |