diff --git a/checkpatch.pl b/checkpatch.pl index f985446..836ce5d 100755 --- a/checkpatch.pl +++ b/checkpatch.pl @@ -2825,8 +2825,7 @@ sub process { } if (!$warned_about_test_result_file && - $realfile =~ /^test\/.*\.result$/ && - $line =~ /^\+/) { + $realfile =~ /^test\/.*\.result$/) { $warned_about_test_result_file = 1; ERROR("TEST_RESULT_FILE", "Please avoid tests with .result files\n");