Changes in uspace/drv/char/msim-con/msim-con.c [4f87a85a:984a9ba] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/char/msim-con/msim-con.c
r4f87a85a r984a9ba 85 85 irq_cmd_t *msim_cmds = NULL; 86 86 errno_t rc; 87 bool bound = false;88 87 89 88 circ_buf_init(&con->cbuf, con->buf, msim_con_buf_size, 1); … … 144 143 } 145 144 146 bound = true; 147 148 rc = ddf_fun_add_to_category(fun, "console"); 149 if (rc != EOK) { 150 ddf_msg(LVL_ERROR, "Error adding function 'a' to category " 151 "'console'."); 152 goto error; 153 } 145 ddf_fun_add_to_category(fun, "console"); 154 146 155 147 return EOK; … … 157 149 if (CAP_HANDLE_VALID(con->irq_handle)) 158 150 async_irq_unsubscribe(con->irq_handle); 159 if (bound)160 ddf_fun_unbind(fun);161 151 if (fun != NULL) 162 152 ddf_fun_destroy(fun);
Note:
See TracChangeset
for help on using the changeset viewer.