Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

usb: gadget: printer: Drop unused device qualifier descriptor

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 <k.opasiak@samsung.com>
Signed-off-by: Krzysztof Opasiak <kopasiak90@gmail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>

authored by

Krzysztof Opasiak and committed by
Felipe Balbi
e5a89162 375f62e7

-8
-8
drivers/usb/gadget/function/f_printer.c
··· 161 161 .wMaxPacketSize = cpu_to_le16(512) 162 162 }; 163 163 164 - static struct usb_qualifier_descriptor dev_qualifier = { 165 - .bLength = sizeof(dev_qualifier), 166 - .bDescriptorType = USB_DT_DEVICE_QUALIFIER, 167 - .bcdUSB = cpu_to_le16(0x0200), 168 - .bDeviceClass = USB_CLASS_PRINTER, 169 - .bNumConfigurations = 1 170 - }; 171 - 172 164 static struct usb_descriptor_header *hs_printer_function[] = { 173 165 (struct usb_descriptor_header *) &intf_desc, 174 166 (struct usb_descriptor_header *) &hs_ep_in_desc,