projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a4f5da
)
ARM: fix bios32.c build warning
author
Russell King
<rmk+kernel@arm.linux.org.uk>
Fri, 30 Mar 2012 20:03:54 +0000
(21:03 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Fri, 30 Mar 2012 20:03:54 +0000
(21:03 +0100)
arch/arm/kernel/bios32.c: In function 'pcibios_fixup_bus':
arch/arm/kernel/bios32.c:302: warning: unused variable 'root'
caused by
9f786d033
(arm/PCI: get rid of device resource fixups)
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/bios32.c
patch
|
blob
|
history
diff --git
a/arch/arm/kernel/bios32.c
b/arch/arm/kernel/bios32.c
index 632df9a66f8c1e989a3d369457579b5613c65aab..ede5f7741c42246984333a4398020015575ebaaa 100644
(file)
--- a/
arch/arm/kernel/bios32.c
+++ b/
arch/arm/kernel/bios32.c
@@
-299,7
+299,6
@@
static inline int pdev_bad_for_parity(struct pci_dev *dev)
*/
void pcibios_fixup_bus(struct pci_bus *bus)
{
- struct pci_sys_data *root = bus->sysdata;
struct pci_dev *dev;
u16 features = PCI_COMMAND_SERR | PCI_COMMAND_PARITY | PCI_COMMAND_FAST_BACK;