Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset a1f83a3 in mainline


Ignore:
Timestamp:
2017-11-14T16:35:59Z (4 years ago)
Author:
Aearsis <Hlavaty.Ondrej@…>
Branches:
lfn, master
Children:
cfe4852
Parents:
6cad776
Message:

usbhost: remove dead code

Location:
uspace/lib/usbhost
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/include/usb/host/hcd.h

    r6cad776 ra1f83a3  
    102102}
    103103
    104 extern usb_address_t hcd_request_address(hcd_t *, usb_speed_t);
    105 
    106 extern int hcd_add_ep(hcd_t *, usb_target_t, usb_direction_t,
    107     usb_transfer_type_t, size_t, unsigned int, size_t, usb_tt_address_t);
    108 
    109 extern int hcd_remove_ep(hcd_t *, usb_target_t, usb_direction_t);
    110 
    111104extern int hcd_send_batch(hcd_t *, device_t *, usb_target_t,
    112105    usb_direction_t direction, char *, size_t, uint64_t,
  • uspace/lib/usbhost/src/hcd.c

    r6cad776 ra1f83a3  
    5858
    5959        hcd_set_implementation(hcd, NULL, NULL, NULL);
    60 }
    61 
    62 usb_address_t hcd_request_address(hcd_t *hcd, usb_speed_t speed)
    63 {
    64         assert(hcd);
    65         usb_address_t address = 0;
    66         const int ret = bus_request_address(hcd->bus, &address, false, speed);
    67         if (ret != EOK)
    68                 return ret;
    69         return address;
    7060}
    7161
Note: See TracChangeset for help on using the changeset viewer.