Changes in uspace/drv/nic/virtio-net/virtio-net.c [56210a7a:3a4c6d9] in mainline
- File:
-
- 1 edited
-
uspace/drv/nic/virtio-net/virtio-net.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/virtio-net/virtio-net.c
r56210a7a r3a4c6d9 428 428 } 429 429 430 rc = ddf_fun_add_to_category(fun, DEVICE_CATEGORY_NIC);430 rc = nic_fun_add_to_cats(fun); 431 431 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; 434 435 } 435 436 … … 439 440 return EOK; 440 441 441 unbind:442 ddf_fun_unbind(fun);442 // unbind: 443 // ddf_fun_unbind(fun); 443 444 destroy: 444 445 ddf_fun_destroy(fun);
Note:
See TracChangeset
for help on using the changeset viewer.
