projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e85a6f
)
ARM: fix mach-versatile/pci.c warning
author
Russell King
<rmk+kernel@arm.linux.org.uk>
Wed, 4 Jul 2012 16:04:57 +0000
(17:04 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Wed, 4 Jul 2012 16:04:57 +0000
(17:04 +0100)
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>
arch/arm/mach-versatile/pci.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-versatile/pci.c
b/arch/arm/mach-versatile/pci.c
index bec933b04ef04bebcac7d312b46f710b9ce3a9e3..e95bf84cc837550650ccc053e5afc72486d6682a 100644
(file)
--- 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