Skip to content

Commit 4a40468

Browse files
committed
scripts: checkpatch: dont complain about missing MAINTAINERS
File not used by SOF. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
1 parent 0616016 commit 4a40468

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

scripts/checkpatch.pl

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2639,18 +2639,6 @@ sub process {
26392639
}
26402640
}
26412641

2642-
# Check for added, moved or deleted files
2643-
if (!$reported_maintainer_file && !$in_commit_log &&
2644-
($line =~ /^(?:new|deleted) file mode\s*\d+\s*$/ ||
2645-
$line =~ /^rename (?:from|to) [\w\/\.\-]+\s*$/ ||
2646-
($line =~ /\{\s*([\w\/\.\-]*)\s*\=\>\s*([\w\/\.\-]*)\s*\}/ &&
2647-
(defined($1) || defined($2))))) {
2648-
$is_patch = 1;
2649-
$reported_maintainer_file = 1;
2650-
WARN("FILE_PATH_CHANGES",
2651-
"added, moved or deleted file(s), does MAINTAINERS need updating?\n" . $herecurr);
2652-
}
2653-
26542642
# Check for wrappage within a valid hunk of the file
26552643
if ($realcnt != 0 && $line !~ m{^(?:\+|-| |\\ No newline|$)}) {
26562644
ERROR("CORRUPTED_PATCH",

0 commit comments

Comments
 (0)