mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 16:02:57 +00:00
Unregister the driver before removing multi-instance hotplug
callbacks. This order avoids the warning issued from
__cpuhp_remove_state_cpuslocked when the number of remaining
instances isn't yet zero.
Fixes: 8017c27919 ("net/virtio-net: Convert to hotplug state machine")
Cc: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Andrew Jones <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>