mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-18 06:58:54 +00:00
usb: dfu: thor: gadget: Remove dead code
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>
This commit is contained in:
parent
8a8a2257ec
commit
b9c99d3246
2 changed files with 0 additions and 18 deletions
|
@ -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";
|
||||
|
||||
/*
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue