diff options
Diffstat (limited to 'drivers/pci/hotplug/rpaphp_pci.c')
-rw-r--r-- | drivers/pci/hotplug/rpaphp_pci.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/pci/hotplug/rpaphp_pci.c b/drivers/pci/hotplug/rpaphp_pci.c index 1f5e73be47c7..ce7ebec05933 100644 --- a/drivers/pci/hotplug/rpaphp_pci.c +++ b/drivers/pci/hotplug/rpaphp_pci.c | |||
@@ -116,18 +116,6 @@ static void print_slot_pci_funcs(struct pci_bus *bus) | |||
116 | return; | 116 | return; |
117 | } | 117 | } |
118 | 118 | ||
119 | int rpaphp_unconfig_pci_adapter(struct pci_bus *bus) | ||
120 | { | ||
121 | struct pci_dev *dev, *tmp; | ||
122 | |||
123 | list_for_each_entry_safe(dev, tmp, &bus->devices, bus_list) { | ||
124 | eeh_remove_bus_device(dev); | ||
125 | pci_remove_bus_device(dev); | ||
126 | } | ||
127 | return 0; | ||
128 | } | ||
129 | EXPORT_SYMBOL_GPL(rpaphp_unconfig_pci_adapter); | ||
130 | |||
131 | static int setup_pci_hotplug_slot_info(struct slot *slot) | 119 | static int setup_pci_hotplug_slot_info(struct slot *slot) |
132 | { | 120 | { |
133 | struct hotplug_slot_info *hotplug_slot_info = slot->hotplug_slot->info; | 121 | struct hotplug_slot_info *hotplug_slot_info = slot->hotplug_slot->info; |