Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/nic/virtio-net/virtio-net.c

    r56210a7a r3a4c6d9  
    428428        }
    429429
    430         rc = ddf_fun_add_to_category(fun, DEVICE_CATEGORY_NIC);
     430        rc = nic_fun_add_to_cats(fun);
    431431        if (rc != EOK) {
    432                 ddf_msg(LVL_ERROR, "Failed adding function to category");
    433                 goto unbind;
     432                ddf_msg(LVL_ERROR, "Failed adding function to categories");
     433                ddf_fun_unbind(fun);
     434                return rc;
    434435        }
    435436
     
    439440        return EOK;
    440441
    441 unbind:
    442         ddf_fun_unbind(fun);
     442        // unbind:
     443        // ddf_fun_unbind(fun);
    443444destroy:
    444445        ddf_fun_destroy(fun);
Note: See TracChangeset for help on using the changeset viewer.