[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200411115410.071781017@linuxfoundation.org>
Date: Sat, 11 Apr 2020 14:08:44 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-kernel@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
stable@...r.kernel.org, Krzysztof Opasiak <k.opasiak@...sung.com>,
Krzysztof Opasiak <kopasiak90@...il.com>,
Felipe Balbi <felipe.balbi@...ux.intel.com>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Nathan Chancellor <natechancellor@...il.com>,
kbuild test robot <lkp@...el.com>
Subject: [PATCH 4.4 14/29] usb: gadget: printer: Drop unused device qualifier descriptor
From: Krzysztof Opasiak <k.opasiak@...sung.com>
commit e5a89162161d498170e7e39e6cfd2f71458c2b00 upstream.
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@...sung.com>
Signed-off-by: Krzysztof Opasiak <kopasiak90@...il.com>
Signed-off-by: Felipe Balbi <felipe.balbi@...ux.intel.com>
Cc: Nick Desaulniers <ndesaulniers@...gle.com>
Cc: Nathan Chancellor <natechancellor@...il.com>
Cc: kbuild test robot <lkp@...el.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
---
drivers/usb/gadget/function/f_printer.c | 8 --------
1 file changed, 8 deletions(-)
--- 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
.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,
Powered by blists - more mailing lists