summaryrefslogtreecommitdiff
path: root/include/usbdevice.h
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@mailbox.org>2024-07-23 01:28:34 +0200
committerTom Rini <trini@konsulko.com>2024-07-29 15:01:04 -0600
commit6627fbba203f89a316299d35f6a2ff3f33dd15c8 (patch)
treecce8ae95fef0efc70c6ee256b3f007951aaec56f /include/usbdevice.h
parenta1af57b70ad14fc490b5227d11c0edd954a81978 (diff)
include: Remove duplicate newlines
Drop all duplicate newlines. No functional change. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Diffstat (limited to 'include/usbdevice.h')
-rw-r--r--include/usbdevice.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/usbdevice.h b/include/usbdevice.h
index e59f5587eea..d173c1c4e37 100644
--- a/include/usbdevice.h
+++ b/include/usbdevice.h
@@ -19,10 +19,8 @@
#include "usbdescriptors.h"
-
#define MAX_URBS_QUEUED 5
-
#if 1
#define usberr(fmt,args...) serial_printf("ERROR: %s(), %d: "fmt"\n",__FUNCTION__,__LINE__,##args)
#else
@@ -269,14 +267,12 @@ struct usb_bus_instance;
#define USB_REQ_SET_IDLE 0x0A
#define USB_REQ_SET_PROTOCOL 0x0B
-
/*
* USB Spec Release number
*/
#define USB_BCD_VERSION 0x0110
-
/*
* Device Requests (c.f Table 9-2)
*/
@@ -328,7 +324,6 @@ struct usb_bus_instance;
#define USB_DEVICE_REMOTE_WAKEUP 0x01
#define USB_TEST_MODE 0x02
-
/* USB Requests
*
*/
@@ -341,7 +336,6 @@ struct usb_device_request {
u16 wLength;
} __attribute__ ((packed));
-
/* USB Status
*
*/
@@ -425,7 +419,6 @@ typedef enum usb_device_event {
} usb_device_event_t;
-
typedef struct urb_link {
struct urb_link *next;
struct urb_link *prev;
@@ -519,7 +512,6 @@ struct usb_configuration_instance {
struct usb_interface_instance *interface_instance_array;
};
-
/* USB Device Instance
*
* For each physical bus interface we create a logical device structure. This