141-PCI-iproc-Remove-unused-struct-iproc_pcie.irqs.patch 912 B

123456789101112131415161718192021222324252627282930313233
  1. From 98aac697a83db6e1d004e5d61cf6c976a0b1c35a Mon Sep 17 00:00:00 2001
  2. From: Ray Jui <rjui@broadcom.com>
  3. Date: Tue, 15 Sep 2015 17:39:16 -0700
  4. Subject: [PATCH 141/147] PCI: iproc: Remove unused struct iproc_pcie.irqs[]
  5. Remove unused struct iproc_pcie member irqs[] and unused #define
  6. IPROC_PCIE_MAX_NUM_IRQS.
  7. Signed-off-by: Ray Jui <rjui@broadcom.com>
  8. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
  9. ---
  10. drivers/pci/host/pcie-iproc.h | 3 ---
  11. 1 file changed, 3 deletions(-)
  12. --- a/drivers/pci/host/pcie-iproc.h
  13. +++ b/drivers/pci/host/pcie-iproc.h
  14. @@ -14,8 +14,6 @@
  15. #ifndef _PCIE_IPROC_H
  16. #define _PCIE_IPROC_H
  17. -#define IPROC_PCIE_MAX_NUM_IRQS 6
  18. -
  19. /**
  20. * iProc PCIe device
  21. * @dev: pointer to device data structure
  22. @@ -34,7 +32,6 @@ struct iproc_pcie {
  23. #endif
  24. struct pci_bus *root_bus;
  25. struct phy *phy;
  26. - int irqs[IPROC_PCIE_MAX_NUM_IRQS];
  27. int (*map_irq)(const struct pci_dev *, u8, u8);
  28. };