diff options
Diffstat (limited to 'drivers/pci/remove.c')
-rw-r--r-- | drivers/pci/remove.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pci/remove.c b/drivers/pci/remove.c index 176615e7231f..7f87beed35ac 100644 --- a/drivers/pci/remove.c +++ b/drivers/pci/remove.c | |||
@@ -73,8 +73,6 @@ void pci_remove_bus(struct pci_bus *pci_bus) | |||
73 | return; | 73 | return; |
74 | 74 | ||
75 | pci_remove_legacy_files(pci_bus); | 75 | pci_remove_legacy_files(pci_bus); |
76 | device_remove_file(&pci_bus->dev, &dev_attr_cpuaffinity); | ||
77 | device_remove_file(&pci_bus->dev, &dev_attr_cpulistaffinity); | ||
78 | device_unregister(&pci_bus->dev); | 76 | device_unregister(&pci_bus->dev); |
79 | } | 77 | } |
80 | EXPORT_SYMBOL(pci_remove_bus); | 78 | EXPORT_SYMBOL(pci_remove_bus); |