Changeset bad4a05 in mainline for uspace/drv/bus/usb/ehci/ehci_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/ehci/ehci_bus.c
ra6c4597 rbad4a05 113 113 } 114 114 115 static intehci_unregister_ep(endpoint_t *ep)115 static void ehci_unregister_ep(endpoint_t *ep) 116 116 { 117 117 bus_t *bus_base = endpoint_get_bus(ep); … … 120 120 assert(ep); 121 121 122 const int err = usb2_bus_ops.endpoint_unregister(ep); 123 if (err) 124 return err; 125 122 usb2_bus_ops.endpoint_unregister(ep); 126 123 hc_dequeue_endpoint(bus->hc, ep); 127 return EOK;128 124 } 129 125
Note:
See TracChangeset
for help on using the changeset viewer.