PCI: eliminate redundant pci_stop_dev() call from pci_destroy_dev()
authorAlex Chiang <achiang@hp.com>
Tue, 19 May 2009 01:02:38 +0000 (19:02 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 11 Jun 2009 19:04:19 +0000 (12:04 -0700)
commitaf4c5f985afd8d4cfdf402aaa03677f2cb96e37c
treef324170ae00f023681e55b0522095ab97b8037fa
parent57fbf52c86addd8e25d1975fac0d59d982d1f6ec
PCI: eliminate redundant pci_stop_dev() call from pci_destroy_dev()

We always call pci_stop_bus_device before calling pci_destroy_dev.

Since pci_stop_bus_device calls pci_stop_dev, there is no need
for pci_destroy_dev to repeat the call.

Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/remove.c