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

Ignore:
Timestamp:
2011-08-31T22:58:04Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master
Children:
9a790ad1
Parents:
9c10e51
Message:

libusbhost: remove unused elements

File:
1 edited

Legend:

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

    r9c10e51 r4e9ecf4  
    4444struct usb_transfer_batch {
    4545        endpoint_t *ep;
    46         link_t link;
    4746        usbhc_iface_transfer_in_callback_t callback_in;
    4847        usbhc_iface_transfer_out_callback_t callback_out;
    4948        void *arg;
    5049        char *buffer;
    51         char *data_buffer;
    5250        size_t buffer_size;
    5351        char *setup_buffer;
    5452        size_t setup_size;
    5553        size_t transfered_size;
    56         void (*next_step)(usb_transfer_batch_t *);
    5754        int error;
    5855        ddf_fun_t *fun;
     
    7875    endpoint_t *ep,
    7976    char *buffer,
    80     char *data_buffer,
    8177    size_t buffer_size,
    8278    char *setup_buffer,
     
    127123        usb_transfer_batch_finish(instance, data, size);
    128124}
    129 /*----------------------------------------------------------------------------*/
    130 static inline usb_transfer_batch_t *usb_transfer_batch_from_link(link_t *l)
    131 {
    132         assert(l);
    133         return list_get_instance(l, usb_transfer_batch_t, link);
    134 }
    135 
    136125#endif
    137126/**
Note: See TracChangeset for help on using the changeset viewer.