commit | 2b56313448bb8efad3af19f211d988c8352ac04d | [log] [tgz] |
---|---|---|
author | Yu Zhao <yu.zhao@intel.com> | Wed Jan 28 18:27:21 2009 +0800 |
committer | Jesse Barnes <jbarnes@hobbes.lan> | Thu Mar 19 19:29:26 2009 -0700 |
tree | 6142ea40139dc49348111b688c349e133a1fe667 | |
parent | 11df1f05514beaf0269484191007dbc8d47e0e6f [diff] |
PCI: check if a bus is added when removing it When removing a bus, 'is_added' should be checked to make sure the bus has been successfully added by pci_bus_add_child() who will sets 'is_added'. Signed-off-by: Yu Zhao <yu.zhao@intel.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>