projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
375f62e
)
usb: gadget: printer: Drop unused device qualifier descriptor
author
Krzysztof Opasiak
<
[email protected]
>
Sun, 22 May 2016 09:08:13 +0000
(11:08 +0200)
committer
Felipe Balbi
<
[email protected]
>
Tue, 31 May 2016 08:12:59 +0000
(11:12 +0300)
This descriptor is never used. Currently device qualifier
descriptor is generated by compossite code, so no need to
keep it in function file.
Signed-off-by: Krzysztof Opasiak <
[email protected]
>
Signed-off-by: Krzysztof Opasiak <
[email protected]
>
Signed-off-by: Felipe Balbi <
[email protected]
>
drivers/usb/gadget/function/f_printer.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/function/f_printer.c
b/drivers/usb/gadget/function/f_printer.c
index c45104e3a64bfe147e93b4055ef7ad7d21b1cd2a..64706a789580dd3bb1641b151d15f0b0831c43ed 100644
(file)
--- a/
drivers/usb/gadget/function/f_printer.c
+++ b/
drivers/usb/gadget/function/f_printer.c
@@
-161,14
+161,6
@@
static struct usb_endpoint_descriptor hs_ep_out_desc = {
.wMaxPacketSize = cpu_to_le16(512)
};
-static struct usb_qualifier_descriptor dev_qualifier = {
- .bLength = sizeof(dev_qualifier),
- .bDescriptorType = USB_DT_DEVICE_QUALIFIER,
- .bcdUSB = cpu_to_le16(0x0200),
- .bDeviceClass = USB_CLASS_PRINTER,
- .bNumConfigurations = 1
-};
-
static struct usb_descriptor_header *hs_printer_function[] = {
(struct usb_descriptor_header *) &intf_desc,
(struct usb_descriptor_header *) &hs_ep_in_desc,