x86/PCI: simplify pci_mmcfg_late_insert_resources()
authorJiang Liu <jiang.liu@huawei.com>
Fri, 22 Jun 2012 06:55:18 +0000 (14:55 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 22 Jun 2012 21:17:06 +0000 (15:17 -0600)
commit66e8850a2a34e6c52105d92a0f0054b304cb7140
tree1c8049a3684439f7ffba279f8923efc30d1c0be7
parentc0fa40784cce9cc66b54499a3762cfe07e35353f
x86/PCI: simplify pci_mmcfg_late_insert_resources()

Reduce redundant code to simplify pci_mmcfg_late_insert_resources().

Reviewed-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Jiang Liu <liuj97@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/x86/pci/mmconfig-shared.c