Index: uspace/lib/usbhost/src/usb2_bus.c
===================================================================
--- uspace/lib/usbhost/src/usb2_bus.c	(revision 296d22fc7ac2cf337cdd964b70173f002f670d06)
+++ uspace/lib/usbhost/src/usb2_bus.c	(revision 77733a90cca3bfa17bd1a6b5986266f47fe07061)
@@ -130,5 +130,5 @@
 	}
 
-	if ((err = hc_get_ep0_max_packet_size(&ep0_desc.endpoint.max_packet_size, dev->bus, dev)))
+	if ((err = hc_get_ep0_max_packet_size(&ep0_desc.endpoint.max_packet_size, dev)))
 		goto err_address;
 
Index: uspace/lib/usbhost/src/utility.c
===================================================================
--- uspace/lib/usbhost/src/utility.c	(revision 296d22fc7ac2cf337cdd964b70173f002f670d06)
+++ uspace/lib/usbhost/src/utility.c	(revision 77733a90cca3bfa17bd1a6b5986266f47fe07061)
@@ -75,5 +75,5 @@
  * @return Max packet size for EP 0 (in bytes)
  */
-int hc_get_ep0_max_packet_size(uint16_t *mps, bus_t *bus, device_t *dev)
+int hc_get_ep0_max_packet_size(uint16_t *mps, device_t *dev)
 {
 	assert(mps);
