Changeset e55d2c1 in mainline for uspace/drv/nic/rtl8169/driver.c
- Timestamp:
- 2024-04-07T12:53:23Z (6 months ago)
- Children:
- 2a0c827c
- Parents:
- c37c24c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/rtl8169/driver.c
rc37c24c re55d2c1 457 457 } 458 458 459 rc = ddf_fun_add_to_category(fun, DEVICE_CATEGORY_NIC);459 rc = nic_fun_add_to_cats(fun); 460 460 if (rc != EOK) { 461 ddf_msg(LVL_ERROR, "Failed adding function to category"); 462 goto err_fun_bind; 461 ddf_msg(LVL_ERROR, "Failed adding function to categories"); 462 ddf_fun_unbind(fun); 463 return rc; 463 464 } 464 465 … … 467 468 return EOK; 468 469 469 err_fun_bind:470 ddf_fun_unbind(fun);470 // err_fun_bind: 471 // ddf_fun_unbind(fun); 471 472 err_fun_create: 472 473 ddf_fun_destroy(fun);
Note:
See TracChangeset
for help on using the changeset viewer.