PCI Hotplug: cpqphp: refactor cpqhp_save_config
commit1d2e8b1c58ef96b8834b139caf4357effedcb5ab
authorAlex Chiang <achiang@hp.com>
Tue, 31 Mar 2009 15:23:57 +0000 (31 09:23 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 11 Jun 2009 19:04:13 +0000 (11 12:04 -0700)
tree1531d3175f6b01172a3ea292f3c5d91be5049b04
parent4aabb58e1f544e97dbb97d0ce29bdfc9108f2f2c
PCI Hotplug: cpqphp: refactor cpqhp_save_config

Handle an empty slot at the top of the loop, and continue early.

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