This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / drivers / pci / remove.c
index b2942c4..889b2e3 100644 (file)
@@ -16,7 +16,6 @@ static void pci_free_resources(struct pci_dev *dev)
 
        msi_remove_pci_irq_vectors(dev);
 
-       pci_cleanup_rom(dev);
        for (i = 0; i < PCI_NUM_RESOURCES; i++) {
                struct resource *res = dev->resource + i;
                if (res->parent)
@@ -27,7 +26,6 @@ static void pci_free_resources(struct pci_dev *dev)
 static void pci_destroy_dev(struct pci_dev *dev)
 {
        pci_proc_detach_device(dev);
-       pci_remove_sysfs_dev_files(dev);
        device_unregister(&dev->dev);
 
        /* Remove the device from the device lists, and prevent any further