]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit08b077f3bb0cd51e8496c1b99bcb5cc20a52733b
tree740a8a9134c201c628750c70266d318b05bd4bde
parent9241b82b265bdcdf4e01d4c43e1692bf735b2f3b
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