Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d2207ccb authored by Joe Perches's avatar Joe Perches Committed by Linus Torvalds
Browse files

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: default avatarJoe Perches <joe@perches.com>
Reported-by: default avatarGreg KH <gregkh@linuxfoundation.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent f17dba4f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2431,7 +2431,7 @@ sub process {
				"please, no space before tabs\n" . $herevet) &&
			    $fix) {
				while ($fixed[$fixlinenr] =~
					   s/(^\+.*) {8,8}+\t/$1\t\t/) {}
					   s/(^\+.*) {8,8}\t/$1\t\t/) {}
				while ($fixed[$fixlinenr] =~
					   s/(^\+.*) +\t/$1\t/) {}
			}