Changeset bad4a05 in mainline for uspace/lib/usbhost/src/usb2_bus.c


Ignore:
Timestamp:
2018-01-11T04:12:06Z (7 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
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)
Message:

usbhost: made device_remove and endpoint_unregister noexcept

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/src/usb2_bus.c

    ra6c4597 rbad4a05  
    250250 * Release bandwidth reserved by the given endpoint.
    251251 */
    252 static int usb2_bus_unregister_ep(endpoint_t *ep)
     252static void usb2_bus_unregister_ep(endpoint_t *ep)
    253253{
    254254        usb2_bus_t *bus = bus_to_usb2_bus(ep->device->bus);
     
    256256
    257257        bus->free_bw += ep->bandwidth;
    258 
    259         return EOK;
    260258}
    261259
Note: See TracChangeset for help on using the changeset viewer.