diff options
Diffstat (limited to 'arch/sparc64/kernel/pci_schizo.c')
-rw-r--r-- | arch/sparc64/kernel/pci_schizo.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/sparc64/kernel/pci_schizo.c b/arch/sparc64/kernel/pci_schizo.c index 81daf903bdf4..dec8dc9499e0 100644 --- a/arch/sparc64/kernel/pci_schizo.c +++ b/arch/sparc64/kernel/pci_schizo.c | |||
@@ -1542,7 +1542,6 @@ static void schizo_pbm_init(struct pci_controller_info *p, | |||
1542 | const char *chipset_name; | 1542 | const char *chipset_name; |
1543 | u32 *ino_bitmap; | 1543 | u32 *ino_bitmap; |
1544 | int is_pbm_a; | 1544 | int is_pbm_a; |
1545 | int len; | ||
1546 | 1545 | ||
1547 | switch (chip_type) { | 1546 | switch (chip_type) { |
1548 | case PBM_CHIP_TYPE_TOMATILLO: | 1547 | case PBM_CHIP_TYPE_TOMATILLO: |
@@ -1601,10 +1600,6 @@ static void schizo_pbm_init(struct pci_controller_info *p, | |||
1601 | 1600 | ||
1602 | schizo_pbm_hw_init(pbm); | 1601 | schizo_pbm_hw_init(pbm); |
1603 | 1602 | ||
1604 | pbm->pbm_ranges = of_get_property(dp, "ranges", &len); | ||
1605 | pbm->num_pbm_ranges = | ||
1606 | (len / sizeof(struct linux_prom_pci_ranges)); | ||
1607 | |||
1608 | pci_determine_mem_io_space(pbm); | 1603 | pci_determine_mem_io_space(pbm); |
1609 | 1604 | ||
1610 | ino_bitmap = of_get_property(dp, "ino-bitmap", NULL); | 1605 | ino_bitmap = of_get_property(dp, "ino-bitmap", NULL); |