You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
PCI: remove global list of PCI devices
This patch finally removes the global list of PCI devices. We are relying entirely on the list held in the driver core now, and do not need a separate "shadow" list as no one uses it. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
@@ -23,10 +23,6 @@ static void pci_stop_dev(struct pci_dev *dev)
|
||||
pci_remove_sysfs_dev_files(dev);
|
||||
device_unregister(&dev->dev);
|
||||
dev->is_added = 0;
|
||||
down_write(&pci_bus_sem);
|
||||
list_del(&dev->global_list);
|
||||
dev->global_list.next = dev->global_list.prev = NULL;
|
||||
up_write(&pci_bus_sem);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user