diff options
author | linas@austin.ibm.com <linas@austin.ibm.com> | 2006-01-12 19:22:07 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-31 21:00:12 -0500 |
commit | 7fec77e4793f307b30846a3d4015d329ffc0b685 (patch) | |
tree | e9a3004bbf45237063ce7dfbc28e32e1c53ac938 /drivers/pci/hotplug/rpaphp.h | |
parent | eca845c71816669dace4bf1954d9ab276abb0002 (diff) |
[PATCH] powerpc/PCI hotplug: merge config_pci_adapter
Remove general baroqueness. The function rpaphp_config_pci_adapter()
is really just one line of code, once all the dbg printks are removed.
And its called in only one place. So replace the call by the one line.
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>
Diffstat (limited to 'drivers/pci/hotplug/rpaphp.h')
-rw-r--r-- | drivers/pci/hotplug/rpaphp.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/rpaphp.h b/drivers/pci/hotplug/rpaphp.h index 6aa91ef5cd70..89d705c7c502 100644 --- a/drivers/pci/hotplug/rpaphp.h +++ b/drivers/pci/hotplug/rpaphp.h | |||
@@ -92,7 +92,6 @@ extern int rpaphp_enable_pci_slot(struct slot *slot); | |||
92 | extern int register_pci_slot(struct slot *slot); | 92 | extern int register_pci_slot(struct slot *slot); |
93 | extern int rpaphp_get_pci_adapter_status(struct slot *slot, int is_init, u8 * value); | 93 | extern int rpaphp_get_pci_adapter_status(struct slot *slot, int is_init, u8 * value); |
94 | 94 | ||
95 | extern int rpaphp_config_pci_adapter(struct pci_bus *bus); | ||
96 | extern int rpaphp_unconfig_pci_adapter(struct pci_bus *bus); | 95 | extern int rpaphp_unconfig_pci_adapter(struct pci_bus *bus); |
97 | 96 | ||
98 | /* rpaphp_core.c */ | 97 | /* rpaphp_core.c */ |