projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b25f8e2
)
usb: gadget: remove duplicate assignment.
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Sun, 18 Mar 2018 12:05:58 +0000
(13:05 +0100)
committer
Marek Vasut
<marex@denx.de>
Mon, 30 Apr 2018 17:38:09 +0000
(19:38 +0200)
We should not make the same assignement twice.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
drivers/usb/gadget/composite.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/composite.c
b/drivers/usb/gadget/composite.c
index a87639def97433366e1b6218169c55f6ef6ba43b..6e4426ccedc570d7a8d4a36757cd4d3f463815f8 100644
(file)
--- 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;