powerpc/pci/hotplug: Don't need to remove from EEH cache twice
authorGavin Shan <shangw@linux.vnet.ibm.com>
Wed, 24 Jul 2013 02:24:54 +0000 (10:24 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 24 Jul 2013 04:18:47 +0000 (14:18 +1000)
commitc7b51bce636e4990662bb100bc17e1d4d6c02d34
tree511a624009829207e9ec455cd51b9f73902cbaa7
parent008a4938ea07db071f03adffaa3a78c2fbbcde6b
powerpc/pci/hotplug: Don't need to remove from EEH cache twice

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 <bhelgaas@google.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/pci/hotplug/rpadlpar_core.c