Changeset 7fa8589 in mainline for uspace/lib/usbvirt/src/ipc_hc.c
- Timestamp:
- 2020-01-09T01:04:58Z (5 years ago)
- Children:
- bcd7775
- Parents:
- 76c8209
- git-author:
- Matthieu Riolo <matthieu.riolo@…> (2020-01-05 20:21:10)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2020-01-09 01:04:58)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbvirt/src/ipc_hc.c
r76c8209 r7fa8589 104 104 /* Prefer the return code of the opening request. */ 105 105 if (opening_request_rc != EOK) 106 return (errno_t)opening_request_rc;106 return opening_request_rc; 107 107 else 108 return (errno_t)data_request_rc;108 return data_request_rc; 109 109 } 110 110 111 111 if (opening_request_rc != EOK) 112 return (errno_t)opening_request_rc;112 return opening_request_rc; 113 113 114 114 if (data_transferred_size != NULL) … … 174 174 async_wait_for(opening_request, &opening_request_rc); 175 175 176 return (errno_t)opening_request_rc;176 return opening_request_rc; 177 177 } 178 178 … … 241 241 /* Prefer the return code of the opening request. */ 242 242 if (opening_request_rc != EOK) 243 return (errno_t)opening_request_rc;243 return opening_request_rc; 244 244 else 245 return (errno_t)data_request_rc;245 return data_request_rc; 246 246 } 247 247 248 248 if (opening_request_rc != EOK) 249 return (errno_t)opening_request_rc;249 return opening_request_rc; 250 250 251 251 if (act_size != NULL) … … 311 311 async_wait_for(opening_request, &opening_request_rc); 312 312 313 return (errno_t)opening_request_rc;313 return opening_request_rc; 314 314 } 315 315
Note:
See TracChangeset
for help on using the changeset viewer.