Changeset 32ec5671 in mainline for uspace/drv/bus/usb/usbhub/port.c


Ignore:
Timestamp:
2011-10-12T20:31:29Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0d103aef
Parents:
013517b
Message:

usb: Remove unused port_no argument.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/usbhub/port.c

    r013517b r32ec5671  
    6060    usb_port_status_t status);
    6161static int get_port_status(usb_hub_port_t *port, usb_port_status_t *status);
    62 static int enable_port_callback(int port_no, void *arg);
     62static int enable_port_callback(void *arg);
    6363static int add_device_phase1_worker_fibril(void *arg);
    6464static int create_add_device_fibril(usb_hub_port_t *port, usb_hub_dev_t *hub,
     
    378378 * @return Error code.
    379379 */
    380 static int enable_port_callback(int port_no, void *arg)
     380static int enable_port_callback(void *arg)
    381381{
    382382        usb_hub_port_t *port = arg;
     
    421421
    422422        const int rc = usb_hc_new_device_wrapper(data->hub->usb_device->ddf_dev,
    423             &data->hub->connection, data->speed,
    424             enable_port_callback, (int) data->port->port_number,
     423            &data->hub->connection, data->speed, enable_port_callback,
    425424            data->port, &new_address, NULL, NULL, &child_fun);
    426425
Note: See TracChangeset for help on using the changeset viewer.