PCI: Consolidate calls to pcibios_bus_to_resource() in __pci_read_base()
authorKevin Hao <haokexin@gmail.com>
Sat, 25 May 2013 11:36:26 +0000 (19:36 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Sat, 25 May 2013 18:01:24 +0000 (12:01 -0600)
commit96ddef25b24a6159e78fb53c1b13336914ff1154
tree5974722e8f6efe01f4b948d570c37e0073e1ff24
parent33963e308e98064ce89d961ffeede2fb055f8ffc
PCI: Consolidate calls to pcibios_bus_to_resource() in __pci_read_base()

Since we will invoke pcibios_bus_to_resource() unconditionally if we
don't goto fail, move it out of if/else wrap.  No function change.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/probe.c