[PATCH 39/39] checkpatch: remove check for DEFINE_PCI_DEVICE_TABLEmacro
From: Jingoo Han
Date: Mon Dec 02 2013 - 18:33:08 EST
Remove check for DEFINE_PCI_DEVICE_TABLE macro, because
DEFINE_PCI_DEVICE_TABLE macro is not used anymore.
Signed-off-by: Jingoo Han <jg1.han@xxxxxxxxxxx>
---
scripts/checkpatch.pl | 6 ------
1 file changed, 6 deletions(-)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 9c98100..4173f72 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -2634,12 +2634,6 @@ sub process {
$herecurr);
}
-# check for declarations of struct pci_device_id
- if ($line =~ /\bstruct\s+pci_device_id\s+\w+\s*\[\s*\]\s*\=\s*\{/) {
- WARN("DEFINE_PCI_DEVICE_TABLE",
- "Use DEFINE_PCI_DEVICE_TABLE for struct pci_device_id\n" . $herecurr);
- }
-
# check for new typedefs, only function parameters and sparse annotations
# make sense.
if ($line =~ /\btypedef\s/ &&
--
1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/