PCI: keystone: Remove duplicate MAX_*_IRQS defs
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 16 Aug 2017 18:32:34 +0000 (13:32 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 16 Aug 2017 18:32:34 +0000 (13:32 -0500)
MAX_MSI_HOST_IRQS and MAX_LEGACY_HOST_IRQS are defined in both
pci-keystone.h (which is included by pci-keystone.c) and in pci-keystone.c
itself.

Remove the duplicate definitions from pci-keystone.c.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Murali Karicheri <m-karicheri2@ti.com>
drivers/pci/dwc/pci-keystone.c

index 4783cec1f78d4f645d347602547215b7012a1dac..fb8504690923b45cab914771e298246d9a108628 100644 (file)
 
 #define DRIVER_NAME    "keystone-pcie"
 
-/* driver specific constants */
-#define MAX_MSI_HOST_IRQS              8
-#define MAX_LEGACY_HOST_IRQS           4
-
 /* DEV_STAT_CTRL */
 #define PCIE_CAP_BASE          0x70