Ignore:
Timestamp:
2018-01-17T17:55:35Z (7 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d60115a
Parents:
feabe163
git-author:
Ondřej Hlavatý <aearsis@…> (2018-01-17 17:54:07)
git-committer:
Ondřej Hlavatý <aearsis@…> (2018-01-17 17:55:35)
Message:

usbhost: remove unused endpoint link

File:
1 edited

Legend:

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

    rfeabe163 red8575f  
    5555/** Host controller side endpoint structure. */
    5656typedef struct endpoint {
    57         /** Part of linked list. */
    58         link_t link;
    5957        /** USB device */
    6058        device_t *device;
     
    111109}
    112110
    113 /** list_get_instance wrapper.
    114  *
    115  * @param item Pointer to link member.
    116  *
    117  * @return Pointer to endpoint_t structure.
    118  *
    119  */
    120 static inline endpoint_t * endpoint_get_instance(link_t *item)
    121 {
    122         return item ? list_get_instance(item, endpoint_t, link) : NULL;
    123 }
    124 
    125111#endif
    126112
Note: See TracChangeset for help on using the changeset viewer.