提交 858957ab 编写于 作者: K Kevin Hao 提交者: Benjamin Herrenschmidt

powerpc/pci: Remove the unused variables in pci_process_bridge_OF_ranges

The codes which ever used these two variables have gone. Throw away
them too.
Signed-off-by: NKevin Hao <haokexin@gmail.com>
Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
上级 27983896
...@@ -671,10 +671,9 @@ void pci_process_bridge_OF_ranges(struct pci_controller *hose, ...@@ -671,10 +671,9 @@ void pci_process_bridge_OF_ranges(struct pci_controller *hose,
int rlen; int rlen;
int pna = of_n_addr_cells(dev); int pna = of_n_addr_cells(dev);
int np = pna + 5; int np = pna + 5;
int memno = 0, isa_hole = -1; int memno = 0;
u32 pci_space; u32 pci_space;
unsigned long long pci_addr, cpu_addr, pci_next, cpu_next, size; unsigned long long pci_addr, cpu_addr, pci_next, cpu_next, size;
unsigned long long isa_mb = 0;
struct resource *res; struct resource *res;
printk(KERN_INFO "PCI host bridge %s %s ranges:\n", printk(KERN_INFO "PCI host bridge %s %s ranges:\n",
...@@ -768,8 +767,6 @@ void pci_process_bridge_OF_ranges(struct pci_controller *hose, ...@@ -768,8 +767,6 @@ void pci_process_bridge_OF_ranges(struct pci_controller *hose,
} }
/* Handles ISA memory hole space here */ /* Handles ISA memory hole space here */
if (pci_addr == 0) { if (pci_addr == 0) {
isa_mb = cpu_addr;
isa_hole = memno;
if (primary || isa_mem_base == 0) if (primary || isa_mem_base == 0)
isa_mem_base = cpu_addr; isa_mem_base = cpu_addr;
hose->isa_mem_phys = cpu_addr; hose->isa_mem_phys = cpu_addr;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册