Commit 32e1eb59 authored by Russell King's avatar Russell King

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: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 9e85a6f9
...@@ -339,7 +339,6 @@ void __init pci_versatile_preinit(void) ...@@ -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) static int __init versatile_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
{ {
int irq; int irq;
int devslot = PCI_SLOT(dev->devfn);
/* slot, pin, irq /* slot, pin, irq
* 24 1 27 * 24 1 27
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment