Skip to content

Commit

Permalink
ARM: fix mach-versatile/pci.c warning
Browse files Browse the repository at this point in the history
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 <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King committed Jul 4, 2012
1 parent 9e85a6f commit 32e1eb5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/arm/mach-versatile/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 32e1eb5

Please sign in to comment.