]> err.no Git - linux-2.6/commitdiff
[POWERPC] Remove local_number from pci_controller
authorKumar Gala <galak@kernel.crashing.org>
Wed, 27 Jun 2007 05:19:08 +0000 (00:19 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 29 Jun 2007 06:58:34 +0000 (01:58 -0500)
We never actually read local_number so lets just remove it.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/iseries/pci.c
include/asm-powerpc/pci-bridge.h

index 23d876211874930b7b132fe1af583587b574c576..da87162000f0b25aa38c9189622a7105412b1272 100644 (file)
@@ -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;
index b0325931c324f36df8556e966c032f1ede31b3cf..229ead98ed12ee2f3bf87da6d21c4fe5083d5221 100644 (file)
@@ -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;