From: Bjorn Helgaas Date: Wed, 16 Aug 2017 18:32:34 +0000 (-0500) Subject: PCI: keystone: Remove duplicate MAX_*_IRQS defs X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=44b5557a13bdc04fda582b6fdfa3819792fbfe94;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git PCI: keystone: Remove duplicate MAX_*_IRQS defs 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 Cc: Murali Karicheri --- diff --git a/drivers/pci/dwc/pci-keystone.c b/drivers/pci/dwc/pci-keystone.c index 4783cec1f78d..fb8504690923 100644 --- a/drivers/pci/dwc/pci-keystone.c +++ b/drivers/pci/dwc/pci-keystone.c @@ -32,10 +32,6 @@ #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