mirror of
https://github.com/torvalds/linux.git
synced 2024-11-07 04:32:03 +00:00
ae40582e99
pcie_port_device_remove currently calls the remove method of port drivers twice. Ouch! We are calling device_for_each_child multiple times for no apparent reason. So make it simple. Place put_device and device_unregister into remove_iter, and throw out the rest. Only call device_for_each_child once. The code is simpler and actually works! Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> |
||
---|---|---|
.. | ||
aer | ||
aspm.c | ||
Kconfig | ||
Makefile | ||
portdrv_bus.c | ||
portdrv_core.c | ||
portdrv_pci.c | ||
portdrv.h |