Changeset 2745176 in mainline for uspace/lib/usb/src/hc.c


Ignore:
Timestamp:
2013-01-27T15:48:12Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5debe97
Parents:
4ca778b
Message:

libusb: Hide/remove unused functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/src/hc.c

    r4ca778b r2745176  
    108108} else (void)0
    109109
    110 /** Initialize connection to USB host controller.
    111  *
    112  * @param connection Connection to be initialized.
    113  * @param device Device connecting to the host controller.
    114  * @return Error code.
    115  */
    116 int usb_hc_connection_initialize_from_device(usb_hc_connection_t *connection,
    117     ddf_dev_t *device)
    118 {
    119         if (device == NULL)
    120                 return EBADMEM;
    121 
    122         devman_handle_t hc_handle;
    123         const int rc = usb_get_hc_by_handle(ddf_dev_get_handle(device), &hc_handle);
    124         if (rc == EOK) {
    125                 usb_hc_connection_initialize(connection, hc_handle);
    126         }
    127 
    128         return rc;
    129 }
    130110
    131111void usb_hc_connection_deinitialize(usb_hc_connection_t *connection)
Note: See TracChangeset for help on using the changeset viewer.