]> git.sur5r.net Git - u-boot/commitdiff
usb: dfu: thor: gadget: Remove dead code
authorLukasz Majewski <l.majewski@samsung.com>
Thu, 11 Sep 2014 13:26:10 +0000 (15:26 +0200)
committerMarek Vasut <marex@denx.de>
Mon, 6 Oct 2014 12:50:43 +0000 (14:50 +0200)
This code is not used anymore in the current DFU implementation and
can be safely removed.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
drivers/usb/gadget/f_dfu.c
drivers/usb/gadget/f_thor.c

index 3e4f02932b9d3ad87337c0f4ef93c1e9ba179582..d040606e6f1dd32d3ba9fa8d5f398ae6b263f6ea 100644 (file)
@@ -81,14 +81,6 @@ static struct usb_descriptor_header *dfu_runtime_descs[] = {
        NULL,
 };
 
-static const struct usb_qualifier_descriptor dev_qualifier = {
-       .bLength =              sizeof dev_qualifier,
-       .bDescriptorType =      USB_DT_DEVICE_QUALIFIER,
-       .bcdUSB =               __constant_cpu_to_le16(0x0200),
-       .bDeviceClass =         USB_CLASS_VENDOR_SPEC,
-       .bNumConfigurations =   1,
-};
-
 static const char dfu_name[] = "Device Firmware Upgrade";
 
 /*
index c85b0fbd3ca5102d14c5d660a3733b7099ea8f61..78519fa41ff4c7b8cea414179d77e1e6fd3beec4 100644 (file)
@@ -458,16 +458,6 @@ static struct usb_endpoint_descriptor hs_int_desc = {
        .bInterval = 0x9,
 };
 
-static struct usb_qualifier_descriptor dev_qualifier = {
-       .bLength =              sizeof(dev_qualifier),
-       .bDescriptorType =      USB_DT_DEVICE_QUALIFIER,
-
-       .bcdUSB =               __constant_cpu_to_le16(0x0200),
-       .bDeviceClass = USB_CLASS_VENDOR_SPEC,
-
-       .bNumConfigurations =   2,
-};
-
 /*
  * This attribute vendor descriptor is necessary for correct operation with
  * Windows version of THOR download program