From 0e023129be0c759df8a2559fa5a80a62387645cc Mon Sep 17 00:00:00 2001 From: Jean-Philippe Orsini Date: Sun, 21 Sep 2014 13:34:49 +0200 Subject: [PATCH] Remove unnecessary + after {8,8} (https://lkml.org/lkml/2014/7/11/809) --- tests/checkpatch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/checkpatch.pl b/tests/checkpatch.pl index 4d08b39..cab1691 100755 --- a/tests/checkpatch.pl +++ b/tests/checkpatch.pl @@ -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/) {} } -- 2.7.4