diff options
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-x | scripts/checkpatch.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index b20ca55cddd3..3a7600d12783 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
@@ -3229,7 +3229,7 @@ sub process { | |||
3229 | } | 3229 | } |
3230 | 3230 | ||
3231 | # check for unnecessary blank lines around braces | 3231 | # check for unnecessary blank lines around braces |
3232 | if (($line =~ /^..*}\s*$/ && $prevline =~ /^.\s*$/)) { | 3232 | if (($line =~ /^.\s*}\s*$/ && $prevline =~ /^.\s*$/)) { |
3233 | CHK("BRACES", | 3233 | CHK("BRACES", |
3234 | "Blank lines aren't necessary before a close brace '}'\n" . $hereprev); | 3234 | "Blank lines aren't necessary before a close brace '}'\n" . $hereprev); |
3235 | } | 3235 | } |