diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2007-06-27 00:19:08 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-06-29 01:58:34 -0500 |
commit | bf440b712d289b157c72f19b389b8d918a8c8c5c (patch) | |
tree | 0d5691906049781e17fd3c2ae0a420e6b37443e0 | |
parent | 5531e41bf41b5bc34e3cb57af89b58a24fc0dd8d (diff) | |
download | op-kernel-dev-bf440b712d289b157c72f19b389b8d918a8c8c5c.zip op-kernel-dev-bf440b712d289b157c72f19b389b8d918a8c8c5c.tar.gz |
[POWERPC] Remove local_number from pci_controller
We never actually read local_number so lets just remove it.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
-rw-r--r-- | arch/powerpc/platforms/iseries/pci.c | 2 | ||||
-rw-r--r-- | include/asm-powerpc/pci-bridge.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/iseries/pci.c b/arch/powerpc/platforms/iseries/pci.c index 23d8762..da87162 100644 --- a/arch/powerpc/platforms/iseries/pci.c +++ b/arch/powerpc/platforms/iseries/pci.c @@ -768,7 +768,7 @@ void __init iSeries_pcibios_init(void) if (phb == NULL) continue; - phb->pci_mem_offset = phb->local_number = bus; + phb->pci_mem_offset = bus; phb->first_busno = bus; phb->last_busno = bus; phb->ops = &iSeries_pci_ops; diff --git a/include/asm-powerpc/pci-bridge.h b/include/asm-powerpc/pci-bridge.h index b032593..229ead9 100644 --- a/include/asm-powerpc/pci-bridge.h +++ b/include/asm-powerpc/pci-bridge.h @@ -146,7 +146,6 @@ struct pci_controller { struct resource io_resource; struct resource mem_resources[3]; int global_number; - int local_number; unsigned long buid; unsigned long dma_window_base_cur; unsigned long dma_window_size; |