Changeset 32ec5671 in mainline for uspace/drv/bus/usb/uhcirh/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/uhcirh/port.c

    r013517b r32ec5671  
    4545
    4646static int uhci_port_check(void *port);
    47 static int uhci_port_reset_enable(int portno, void *arg);
     47static int uhci_port_reset_enable(void *arg);
    4848static int uhci_port_new_device(uhci_port_t *port, usb_speed_t speed);
    4949static int uhci_port_remove_device(uhci_port_t *port);
     
    213213 * Resets and enables the ub port.
    214214 */
    215 int uhci_port_reset_enable(int portno, void *arg)
     215int uhci_port_reset_enable(void *arg)
    216216{
    217217        uhci_port_t *port = arg;
     
    260260        do {
    261261                ret = usb_hc_new_device_wrapper(port->rh, &port->hc_connection,
    262                     speed, uhci_port_reset_enable, port->number, port,
     262                    speed, uhci_port_reset_enable, port,
    263263                    &port->attached_device.address, NULL, NULL,
    264264                    &port->attached_device.fun);
Note: See TracChangeset for help on using the changeset viewer.