Remove unnecessary + after {8,8} (https://lkml.org/lkml/2014/7/11/809)
authorJean-Philippe Orsini <jeanfi@gmail.com>
Sun, 21 Sep 2014 11:34:49 +0000 (13:34 +0200)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Sun, 21 Sep 2014 11:34:49 +0000 (13:34 +0200)
tests/checkpatch.pl

index 4d08b39..cab1691 100755 (executable)
@@ -2424,7 +2424,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/) {}
                        }