Changeset 2cf28b9 in mainline for uspace/lib/usbhost/src/bus.c
- Timestamp:
- 2017-10-25T15:22:45Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 62558202
- Parents:
- f668d60
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/src/bus.c
rf668d60 r2cf28b9 87 87 return ENOTSUP; 88 88 89 fibril_mutex_lock(&bus->guard); 90 const int r = bus->ops.enumerate_device(bus, hcd, dev); 91 fibril_mutex_unlock(&bus->guard); 92 return r; 89 return bus->ops.enumerate_device(bus, hcd, dev); 93 90 } 94 91 … … 101 98 return ENOTSUP; 102 99 103 fibril_mutex_lock(&bus->guard); 104 const int r = bus->ops.remove_device(bus, hcd, dev); 105 fibril_mutex_unlock(&bus->guard); 106 return r; 100 return bus->ops.remove_device(bus, hcd, dev); 107 101 } 108 102
Note:
See TracChangeset
for help on using the changeset viewer.