]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita888810cc165fd64e0bd021eedcc7eb7d6101173
tree511a624009829207e9ec455cd51b9f73902cbaa7
parent564203aef5ccfd833827dc1427fbf2b51e70bd80
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