Changeset bad4a05 in mainline for uspace/drv/bus/usb/ohci/ohci_bus.c
- Timestamp:
- 2018-01-11T04:12:06Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0892663a
- Parents:
- a6c4597
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-11 01:31:42)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-01-11 04:12:06)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/ohci_bus.c
ra6c4597 rbad4a05 118 118 } 119 119 120 static intohci_unregister_ep(endpoint_t *ep)120 static void ohci_unregister_ep(endpoint_t *ep) 121 121 { 122 122 ohci_bus_t *bus = (ohci_bus_t *) endpoint_get_bus(ep); 123 123 assert(ep); 124 124 125 const int err = usb2_bus_ops.endpoint_unregister(ep); 126 if (err) 127 return err; 128 125 usb2_bus_ops.endpoint_unregister(ep); 129 126 hc_dequeue_endpoint(bus->hc, ep); 130 return EOK;131 127 } 132 128
Note:
See TracChangeset
for help on using the changeset viewer.