summaryrefslogtreecommitdiff
path: root/src/drivers/usb/gadget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/usb/gadget.c')
-rw-r--r--src/drivers/usb/gadget.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/drivers/usb/gadget.c b/src/drivers/usb/gadget.c
index b7aad23450..c6a89bf5c0 100644
--- a/src/drivers/usb/gadget.c
+++ b/src/drivers/usb/gadget.c
@@ -17,7 +17,6 @@
#define USB_HUB_C_PORT_CONNECTION 16
#define USB_HUB_C_PORT_RESET 20
-
static int hub_port_status(const char *buf, int feature)
{
return !!(buf[feature>>3] & (1<<(feature&0x7)));
@@ -73,7 +72,6 @@ static int dbgp_hub_enable(struct ehci_dbg_port *ehci_debug, unsigned char hub_a
if (ret < 0)
goto err;
-
/* Set PORT_RESET, poll for C_PORT_RESET. */
ret = dbgp_control_msg(ehci_debug, hub_addr,
USB_DIR_OUT | USB_TYPE_CLASS | USB_RECIP_OTHER,