diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-07-04 17:04:57 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-07-04 17:04:57 +0100 |
commit | 32e1eb59f7042c03cb8dbb598e7c97fddbb62ac2 (patch) | |
tree | 63880800f25ff7688465fcb3ed949b4bd0da2a48 /arch/arm/mach-versatile/pci.c | |
parent | 9e85a6f9dc231f3ed3c1dc1b12217505d970142a (diff) | |
download | talos-op-linux-32e1eb59f7042c03cb8dbb598e7c97fddbb62ac2.tar.gz talos-op-linux-32e1eb59f7042c03cb8dbb598e7c97fddbb62ac2.zip |
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 <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-versatile/pci.c')
-rw-r--r-- | arch/arm/mach-versatile/pci.c | 1 |
1 files changed, 0 insertions, 1 deletions
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 |