powerpc/pci: remove the multi-init for pci_dn->phb
authorWei Yang <weiyang@linux.vnet.ibm.com>
Mon, 15 Dec 2014 01:45:00 +0000 (09:45 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 23 Jan 2015 03:02:48 +0000 (14:02 +1100)
commit145a2d0427a88e874f85e82e6fc42933a36f5a2b
tree714280522ba66f8bbb78596af3d3dc4db65ca799
parent4e28784024a0d87f6f04250e46e8c9ac4f30e361
powerpc/pci: remove the multi-init for pci_dn->phb

pci_dn->phb is set to phb in update_dn_pci_info(), if succeed.

This patch removes the duplication of pci_dn->phb initialization.

Signed-off-by: Wei Yang <weiyang@linux.vnet.ibm.com>
Reviewed-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/pci_dn.c