ARM: fix bios32.c build warning
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 30 Mar 2012 20:03:54 +0000 (21:03 +0100)
committerRussell 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

index 632df9a66f8c1e989a3d369457579b5613c65aab..ede5f7741c42246984333a4398020015575ebaaa 100644 (file)
@@ -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;