]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
PCI: iproc: Remove unused struct iproc_pcie.irqs[]
authorRay Jui <rjui@broadcom.com>
Wed, 16 Sep 2015 00:39:16 +0000 (17:39 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 25 Sep 2015 23:09:24 +0000 (18:09 -0500)
Remove unused struct iproc_pcie member irqs[] and unused #define
IPROC_PCIE_MAX_NUM_IRQS.

Signed-off-by: Ray Jui <rjui@broadcom.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pcie-iproc.h

index 4880b091c487d13fa41370641174ade63fb53b73..ecaad574135ab096f15713f88eb8c3f3ee66b034 100644 (file)
@@ -14,8 +14,6 @@
 #ifndef _PCIE_IPROC_H
 #define _PCIE_IPROC_H
 
-#define IPROC_PCIE_MAX_NUM_IRQS 6
-
 /**
  * iProc PCIe device
  * @dev: pointer to device data structure
@@ -34,7 +32,6 @@ struct iproc_pcie {
 #endif
        struct pci_bus *root_bus;
        struct phy *phy;
-       int irqs[IPROC_PCIE_MAX_NUM_IRQS];
        int (*map_irq)(const struct pci_dev *, u8, u8);
 };