Index: uspace/drv/bus/usb/uhcirh/port.c
===================================================================
--- uspace/drv/bus/usb/uhcirh/port.c	(revision 013517b0cc26d6f9fba3a17eb1e11802c8c00986)
+++ uspace/drv/bus/usb/uhcirh/port.c	(revision 32ec567100de28432275d239d22a7f71e40208f8)
@@ -45,5 +45,5 @@
 
 static int uhci_port_check(void *port);
-static int uhci_port_reset_enable(int portno, void *arg);
+static int uhci_port_reset_enable(void *arg);
 static int uhci_port_new_device(uhci_port_t *port, usb_speed_t speed);
 static int uhci_port_remove_device(uhci_port_t *port);
@@ -213,5 +213,5 @@
  * Resets and enables the ub port.
  */
-int uhci_port_reset_enable(int portno, void *arg)
+int uhci_port_reset_enable(void *arg)
 {
 	uhci_port_t *port = arg;
@@ -260,5 +260,5 @@
 	do {
 		ret = usb_hc_new_device_wrapper(port->rh, &port->hc_connection,
-		    speed, uhci_port_reset_enable, port->number, port,
+		    speed, uhci_port_reset_enable, port,
 		    &port->attached_device.address, NULL, NULL,
 		    &port->attached_device.fun);
Index: uspace/drv/bus/usb/usbhub/port.c
===================================================================
--- uspace/drv/bus/usb/usbhub/port.c	(revision 013517b0cc26d6f9fba3a17eb1e11802c8c00986)
+++ uspace/drv/bus/usb/usbhub/port.c	(revision 32ec567100de28432275d239d22a7f71e40208f8)
@@ -60,5 +60,5 @@
     usb_port_status_t status);
 static int get_port_status(usb_hub_port_t *port, usb_port_status_t *status);
-static int enable_port_callback(int port_no, void *arg);
+static int enable_port_callback(void *arg);
 static int add_device_phase1_worker_fibril(void *arg);
 static int create_add_device_fibril(usb_hub_port_t *port, usb_hub_dev_t *hub,
@@ -378,5 +378,5 @@
  * @return Error code.
  */
-static int enable_port_callback(int port_no, void *arg)
+static int enable_port_callback(void *arg)
 {
 	usb_hub_port_t *port = arg;
@@ -421,6 +421,5 @@
 
 	const int rc = usb_hc_new_device_wrapper(data->hub->usb_device->ddf_dev,
-	    &data->hub->connection, data->speed,
-	    enable_port_callback, (int) data->port->port_number,
+	    &data->hub->connection, data->speed, enable_port_callback,
 	    data->port, &new_address, NULL, NULL, &child_fun);
 
Index: uspace/drv/bus/usb/vhc/hub.c
===================================================================
--- uspace/drv/bus/usb/vhc/hub.c	(revision 013517b0cc26d6f9fba3a17eb1e11802c8c00986)
+++ uspace/drv/bus/usb/vhc/hub.c	(revision 32ec567100de28432275d239d22a7f71e40208f8)
@@ -81,5 +81,5 @@
 }
 
-static int pretend_port_rest(int unused, void *unused2)
+static int pretend_port_rest(void *unused2)
 {
 	return EOK;
@@ -115,5 +115,5 @@
 	ddf_fun_t *hub_dev;
 	rc = usb_hc_new_device_wrapper(hc_dev->dev, &hc_conn, USB_SPEED_FULL,
-	    pretend_port_rest, 0, NULL, NULL, &rh_ops, hc_dev, &hub_dev);
+	    pretend_port_rest, NULL, NULL, &rh_ops, hc_dev, &hub_dev);
 	if (rc != EOK) {
 		usb_log_fatal("Failed to create root hub: %s.\n",
