[NET]: Move code inline if short and used once.
Now that unregister_sysfs got smaller, just eliminate it and call class_device_unregister directly. netdev_finish_unregister is called one place, therefore it is easier to understand if we just put those few lines into wait_allrefs state machine.
Showing
Please register or sign in to comment