projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
008a493
)
powerpc/pci/hotplug: Don't need to remove from EEH cache twice
author
Gavin Shan
<
[email protected]
>
Wed, 24 Jul 2013 02:24:54 +0000
(10:24 +0800)
committer
Benjamin Herrenschmidt
<
[email protected]
>
Wed, 24 Jul 2013 04:18:47 +0000
(14:18 +1000)
Since pcibios_release_device() called by pci_stop_and_remove_bus_device()
has removed the device from the EEH cache, we needn't do that again.
Cc: Bjorn Helgaas <
[email protected]
>
Acked-by: Bjorn Helgaas <
[email protected]
>
Signed-off-by: Gavin Shan <
[email protected]
>
Signed-off-by: Benjamin Herrenschmidt <
[email protected]
>
drivers/pci/hotplug/rpadlpar_core.c
patch
|
blob
|
history
diff --git
a/drivers/pci/hotplug/rpadlpar_core.c
b/drivers/pci/hotplug/rpadlpar_core.c
index b29e20b7862f168673b3ad980200dd3c80fff175..bb7af78e4eedd359a08db0fab40682a82abac5e1 100644
(file)
--- a/
drivers/pci/hotplug/rpadlpar_core.c
+++ b/
drivers/pci/hotplug/rpadlpar_core.c
@@
-388,7
+388,6
@@
int dlpar_remove_pci_slot(char *drc_name, struct device_node *dn)
/* Remove the EADS bridge device itself */
BUG_ON(!bus->self);
pr_debug("PCI: Now removing bridge device %s\n", pci_name(bus->self));
- eeh_remove_bus_device(bus->self, true);
pci_stop_and_remove_bus_device(bus->self);
return 0;