diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-03-10 12:27:28 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-04-26 12:05:38 +0200 |
commit | 8084de8ad53332ed6e0ffe5db85533b8150d7d6b (patch) | |
tree | 962de4be7e4540a1e4c3f0a2673e6d29379150e3 /arch/arm/include/asm/mach | |
parent | Linux 3.4-rc3 (diff) | |
download | linux-8084de8ad53332ed6e0ffe5db85533b8150d7d6b.tar.xz linux-8084de8ad53332ed6e0ffe5db85533b8150d7d6b.zip |
ARM: PCI: remove unused sys->hw
Some platforms mark their hw_pci structure as __initdata, which means
it will be discarded after init time. Storing pointers to __initdata
in long lived data structures is a potential source of problems, and
in this case, sys->hw is unused apart from its initialization.
So, lets remove this member and its initializer.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/mach')
-rw-r--r-- | arch/arm/include/asm/mach/pci.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/include/asm/mach/pci.h b/arch/arm/include/asm/mach/pci.h index d943b7d20f11..0fc85480d34b 100644 --- a/arch/arm/include/asm/mach/pci.h +++ b/arch/arm/include/asm/mach/pci.h @@ -45,7 +45,6 @@ struct pci_sys_data { u8 (*swizzle)(struct pci_dev *, u8 *); /* IRQ mapping */ int (*map_irq)(const struct pci_dev *, u8, u8); - struct hw_pci *hw; void *private_data; /* platform controller private data */ }; |