commit | f5eebbe119a861b5e4f5c67c886eab0937c686ed | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | Thu Jun 18 14:46:52 2009 -0600 |
committer | Len Brown <len.brown@intel.com> | Sat Jun 20 00:01:52 2009 -0400 |
tree | 9aa3e915a50d5d8155a21c76c447afa9911ed072 | |
parent | fbe2b31b4b6dfa790cbc88e00631f3112c4fc54e [diff] |
ACPI: pci_root: simplify acpi_pci_root_add() control flow By looking up the segment & bus number earlier, we don't have to worry about cleaning up if it fails. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Len Brown <len.brown@intel.com>