diff options
author | Joe Perches <joe@perches.com> | 2014-10-13 18:51:53 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-13 20:18:15 -0400 |
commit | d2207ccbc59900311c88bb9150b24253cd4ddd49 (patch) | |
tree | 0ee0a14cf6fd871b4e8db74d827aff8587675128 /scripts | |
parent | f17dba4fc0496eb0daf018074fccebdc85993c75 (diff) |
checkpatch: remove unnecessary + after {8,8}
There's a useless "+" use that needs to be removed as perl 5.20 emits a
"Useless use of greediness modifier '+'" message each time it's hit.
Signed-off-by: Joe Perches <joe@perches.com>
Reported-by: Greg KH <gregkh@linuxfoundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts')
-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 9846ddeafdf0..0c520f7bf095 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
@@ -2431,7 +2431,7 @@ sub process { | |||
2431 | "please, no space before tabs\n" . $herevet) && | 2431 | "please, no space before tabs\n" . $herevet) && |
2432 | $fix) { | 2432 | $fix) { |
2433 | while ($fixed[$fixlinenr] =~ | 2433 | while ($fixed[$fixlinenr] =~ |
2434 | s/(^\+.*) {8,8}+\t/$1\t\t/) {} | 2434 | s/(^\+.*) {8,8}\t/$1\t\t/) {} |
2435 | while ($fixed[$fixlinenr] =~ | 2435 | while ($fixed[$fixlinenr] =~ |
2436 | s/(^\+.*) +\t/$1\t/) {} | 2436 | s/(^\+.*) +\t/$1\t/) {} |
2437 | } | 2437 | } |