Skip to content

Commit 32e1eb5

Browse files
author
Russell King
committed
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 <[email protected]>
1 parent 9e85a6f commit 32e1eb5

File tree

1 file changed

+0
-1
lines changed
  • arch/arm/mach-versatile

1 file changed

+0
-1
lines changed

arch/arm/mach-versatile/pci.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,6 @@ void __init pci_versatile_preinit(void)
339339
static int __init versatile_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
340340
{
341341
int irq;
342-
int devslot = PCI_SLOT(dev->devfn);
343342

344343
/* slot, pin, irq
345344
* 24 1 27

0 commit comments

Comments
 (0)