From: Russell King Date: Wed, 4 Jul 2012 16:04:57 +0000 (+0100) Subject: ARM: fix mach-versatile/pci.c warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=32e1eb59f7042c03cb8dbb598e7c97fddbb62ac2;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ARM: fix mach-versatile/pci.c warning arch/arm/mach-versatile/pci.c: In function 'versatile_map_irq': arch/arm/mach-versatile/pci.c:342: warning: unused variable 'devslot' Signed-off-by: Russell King --- diff --git a/arch/arm/mach-versatile/pci.c b/arch/arm/mach-versatile/pci.c index bec933b04ef0..e95bf84cc837 100644 --- a/arch/arm/mach-versatile/pci.c +++ b/arch/arm/mach-versatile/pci.c @@ -339,7 +339,6 @@ void __init pci_versatile_preinit(void) static int __init versatile_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) { int irq; - int devslot = PCI_SLOT(dev->devfn); /* slot, pin, irq * 24 1 27