summaryrefslogtreecommitdiff
path: root/common/usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/usb.c')
-rw-r--r--common/usb.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/common/usb.c b/common/usb.c
index f5b21c883f3..7a8435296c6 100644
--- a/common/usb.c
+++ b/common/usb.c
@@ -190,7 +190,6 @@ int usb_disable_asynch(int disable)
}
#endif /* !CONFIG_IS_ENABLED(DM_USB) */
-
/*-------------------------------------------------------------------
* Message wrappers.
*
@@ -293,7 +292,6 @@ int usb_bulk_msg(struct usb_device *dev, unsigned int pipe,
return -EIO;
}
-
/*-------------------------------------------------------------------
* Max Packet stuff
*/
@@ -559,7 +557,6 @@ int usb_clear_halt(struct usb_device *dev, int pipe)
return 0;
}
-
/**********************************************************************
* get_descriptor type
*/
@@ -768,7 +765,6 @@ static int usb_get_string(struct usb_device *dev, unsigned short langid,
return result;
}
-
static void usb_try_string_workarounds(unsigned char *buf, int *length)
{
int newlength, oldlength = *length;
@@ -783,7 +779,6 @@ static void usb_try_string_workarounds(unsigned char *buf, int *length)
}
}
-
static int usb_string_sub(struct usb_device *dev, unsigned int langid,
unsigned int index, unsigned char *buf)
{
@@ -818,7 +813,6 @@ static int usb_string_sub(struct usb_device *dev, unsigned int langid,
return rc;
}
-
/********************************************************************
* usb_string:
* Get string index and translate it to ascii.
@@ -874,7 +868,6 @@ int usb_string(struct usb_device *dev, int index, char *buf, size_t size)
return err;
}
-
/********************************************************************
* USB device handling:
* the USB device are static allocated [USB_MAX_DEVICE].
@@ -1388,5 +1381,4 @@ void usb_find_usb2_hub_address_port(struct usb_device *udev,
}
#endif
-
/* EOF */