PCI Hotplug: cpqphp: refactor cpqphp_save_slot_config
authorAlex Chiang <achiang@hp.com>
Tue, 31 Mar 2009 15:23:46 +0000 (09:23 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 11 Jun 2009 19:04:12 +0000 (12:04 -0700)
commitde86ae16d55a23315cdf1dae68df9de55312cf25
tree740a8a9134c201c628750c70266d318b05bd4bde
parent1d3ecf1376bf22be57c6138e7cdf425c6027b115
PCI Hotplug: cpqphp: refactor cpqphp_save_slot_config

Check for an empty slot, and return early if so.

This allows us to un-indent the rest of the function by one level.

Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/hotplug/cpqphp_pci.c