summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorRay Jui <rjui@broadcom.com>2015-09-16 02:39:16 +0200
committerBjorn Helgaas <bhelgaas@google.com>2015-09-26 01:09:24 +0200
commit98aac697a83db6e1d004e5d61cf6c976a0b1c35a (patch)
tree439db2aaa8dda9a4ce76b3f95f1ccaa434d5bcae /drivers/pci
parentPCI: iproc: Fix code comment to match code (diff)
downloadlinux-98aac697a83db6e1d004e5d61cf6c976a0b1c35a.tar.xz
linux-98aac697a83db6e1d004e5d61cf6c976a0b1c35a.zip
PCI: iproc: Remove unused struct iproc_pcie.irqs[]
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>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/host/pcie-iproc.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/pci/host/pcie-iproc.h b/drivers/pci/host/pcie-iproc.h
index 4880b091c487..ecaad574135a 100644
--- a/drivers/pci/host/pcie-iproc.h
+++ b/drivers/pci/host/pcie-iproc.h
@@ -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);
};