[PATCH 39/39] checkpatch: remove check for DEFINE_PCI_DEVICE_TABLE macro

Jingoo Han
2013-12-02T23:33:02Z

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@samsung.com>
---
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