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

Changeset 0cfb05e in mainline


Ignore:
Timestamp:
2011-12-14T21:17:43Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master
Children:
8a01a0b
Parents:
e285656
Message:

libusbdev: Drop unused argument.

Location:
uspace/lib/usbdev
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbdev/include/usb/dev/driver.h

    re285656 r0cfb05e  
    173173void usb_device_release_descriptors(usb_device_descriptors_t *);
    174174
    175 int usb_device_create_pipes(const ddf_dev_t *, usb_device_connection_t *,
     175int usb_device_create_pipes(usb_device_connection_t *,
    176176    const usb_endpoint_description_t **, const uint8_t *, size_t, int, int,
    177177    usb_endpoint_mapping_t **, size_t *);
  • uspace/lib/usbdev/src/devdrv.c

    re285656 r0cfb05e  
    110110        size_t pipes_count;
    111111
    112         int rc = usb_device_create_pipes(dev->ddf_dev, &dev->wire, endpoints,
     112        int rc = usb_device_create_pipes(&dev->wire, endpoints,
    113113            dev->descriptors.configuration, dev->descriptors.configuration_size,
    114114            dev->interface_no, alternate_setting, &pipes, &pipes_count);
     
    333333 * @return Error code.
    334334 */
    335 int usb_device_create_pipes(const ddf_dev_t *dev, usb_device_connection_t *wire,
     335int usb_device_create_pipes(usb_device_connection_t *wire,
    336336    const usb_endpoint_description_t **endpoints,
    337337    const uint8_t *config_descr, size_t config_descr_size,
     
    339339    usb_endpoint_mapping_t **pipes_ptr, size_t *pipes_count_ptr)
    340340{
    341         assert(dev != NULL);
    342341        assert(wire != NULL);
    343342        assert(endpoints != NULL);
Note: See TracChangeset for help on using the changeset viewer.