]> git.baikalelectronics.ru Git - kernel.git/commit
PCI Hotplug: cpqphp: refactor cpqhp_save_config
authorAlex Chiang <achiang@hp.com>
Tue, 31 Mar 2009 15:23:57 +0000 (09:23 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 11 Jun 2009 19:04:13 +0000 (12:04 -0700)
commitf0775f462ac21f5121b4f1513a33af75070d56f3
tree1531d3175f6b01172a3ea292f3c5d91be5049b04
parentce494b33364f4c2a837d23a00df34feb63aef239
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