提交 bf440b71 编写于 作者: K Kumar Gala

[POWERPC] Remove local_number from pci_controller

We never actually read local_number so lets just remove it.
Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
上级 5531e41b
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册