Re: [PATCH] powerpc/pci: cleanup on duplicate assignment

2012-05-31 Thread Richard Yang
Agree, this is a duplication. On Thu, May 31, 2012 at 02:17:29PM +0800, Gavin Shan wrote: >While creating the PCI root bus through function pci_create_root_bus() >of PCI core, it should have assigned the secondary bus number for the >newly created PCI root bus. Thus we needn't do the explicit assi

[PATCH] powerpc/pci: cleanup on duplicate assignment

2012-05-30 Thread Gavin Shan
While creating the PCI root bus through function pci_create_root_bus() of PCI core, it should have assigned the secondary bus number for the newly created PCI root bus. Thus we needn't do the explicit assignment for the secondary bus number again in pcibios_scan_phb(). Signed-off-by: Gavin Shan -