Changes in uspace/lib/usb/src/pipesio.c [d473c6b:e936e8e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/pipesio.c
rd473c6b re936e8e 115 115 116 116 if (data_request_rc != EOK) { 117 /* Prefer the return code of the opening request. */ 118 if (opening_request_rc != EOK) { 119 return (int) opening_request_rc; 120 } else { 121 return (int) data_request_rc; 122 } 117 return (int) data_request_rc; 123 118 } 124 119 if (opening_request_rc != EOK) { … … 336 331 337 332 if (data_request_rc != EOK) { 338 /* Prefer the return code of the opening request. */ 339 if (opening_request_rc != EOK) { 340 return (int) opening_request_rc; 341 } else { 342 return (int) data_request_rc; 343 } 333 return (int) data_request_rc; 344 334 } 345 335 if (opening_request_rc != EOK) {
Note:
See TracChangeset
for help on using the changeset viewer.