]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] powerpc/PCI hotplug: merge rpaphp_enable_pci_slot()
authorlinas@austin.ibm.com <linas@austin.ibm.com>
Fri, 13 Jan 2006 00:28:22 +0000 (18:28 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 1 Feb 2006 02:00:13 +0000 (18:00 -0800)
commit060cdf1fcc49c179d64f0fb34b885f531357ddba
tree77f8605f27e02c46b1513837e4fc1f02b6d2b66c
parent30cc4f823236f78d3c3f2f7486e0f9db68e6686f
[PATCH] powerpc/PCI hotplug: merge rpaphp_enable_pci_slot()

Remove general baroqueness.  The function rpaphp_enable_pci_slot()
has a fairly simple logic structure, once all of the debug printk's
are removed. Its called from only one place, and that place also
has a very simple structure once he printk's are removed.  Merge
the two together.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Acked-by: John Rose <johnrose@austin.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/rpaphp.h
drivers/pci/hotplug/rpaphp_core.c
drivers/pci/hotplug/rpaphp_pci.c