Changes in uspace/drv/nic/rtl8139/driver.c [3a4c6d9:870841cf] in mainline
- File:
-
- 1 edited
-
uspace/drv/nic/rtl8139/driver.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/rtl8139/driver.c
r3a4c6d9 r870841cf 1313 1313 goto err_fun_create; 1314 1314 } 1315 1316 rc = nic_fun_add_to_cats(fun); 1315 rc = ddf_fun_add_to_category(fun, DEVICE_CATEGORY_NIC); 1317 1316 if (rc != EOK) { 1318 ddf_msg(LVL_ERROR, "Failed adding function to categories"); 1319 ddf_fun_unbind(fun); 1320 return rc; 1317 ddf_msg(LVL_ERROR, "Failed adding function to category"); 1318 goto err_fun_bind; 1321 1319 } 1322 1320 … … 1326 1324 return EOK; 1327 1325 1328 //err_fun_bind:1329 //ddf_fun_unbind(fun);1326 err_fun_bind: 1327 ddf_fun_unbind(fun); 1330 1328 err_fun_create: 1331 1329 ddf_fun_destroy(fun);
Note:
See TracChangeset
for help on using the changeset viewer.
