• Stephen Hemminger's avatar
    [NET]: Move code inline if short and used once. · a978d871
    Stephen Hemminger authored
    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.
    a978d871
dev.c 73.6 KB