Skip to content

Commit

Permalink
[POWERPC] Remove local_number from pci_controller
Browse files Browse the repository at this point in the history
We never actually read local_number so lets just remove it.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
  • Loading branch information
Kumar Gala committed Jun 29, 2007
1 parent 5531e41 commit bf440b7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/iseries/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion include/asm-powerpc/pci-bridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bf440b7

Please sign in to comment.