History

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.

Joe Perches committed 12 years ago

Commit d2207cc1 parent f17dba41 file · +1 −1Browse files

Showing the changes to scripts/checkpatch.pl (1 of 1 file). Show all

Unified · Split

scripts/checkpatch.pl+1−1
@@ -2431,7 +2431,7 @@ sub process { · 2430 unmodified lines
24312431 "please, no space before tabs\n" . $herevet) &&
24322432 $fix) {
24332433 while ($fixed[$fixlinenr] =~
2434− s/(^\+.*) {8,8}+\t/$1\t\t/) {}
2434+ s/(^\+.*) {8,8}\t/$1\t\t/) {}
24352435 while ($fixed[$fixlinenr] =~
24362436 s/(^\+.*) +\t/$1\t/) {}
24372437 }