diff options
author | Heinrich Schuchardt | 2018-03-18 13:05:58 +0100 |
---|---|---|
committer | Marek Vasut | 2018-04-30 19:38:09 +0200 |
commit | fa9da8ee60a7387b9e9b0358bd73ef5dbc73736c (patch) | |
tree | 7fbe8993ed2f8fb24523a33ac10fda67fa75224c | |
parent | b25f8e2112b1582ce6386e846800a31bab688e50 (diff) |
usb: gadget: remove duplicate assignment.
We should not make the same assignement twice.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
-rw-r--r-- | drivers/usb/gadget/composite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c index a87639def97..6e4426ccedc 100644 --- a/drivers/usb/gadget/composite.c +++ b/drivers/usb/gadget/composite.c @@ -165,7 +165,7 @@ static int config_buf(struct usb_configuration *config, int len = USB_BUFSIZ - USB_DT_CONFIG_SIZE; void *next = buf + USB_DT_CONFIG_SIZE; struct usb_descriptor_header **descriptors; - struct usb_config_descriptor *c = buf; + struct usb_config_descriptor *c; int status; struct usb_function *f; |