usb: gadget: remove duplicate assignment.

We should not make the same assignement twice.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lime2-spi
Heinrich Schuchardt 6 years ago committed by Marek Vasut
parent b25f8e2112
commit fa9da8ee60
  1. 2
      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;

Loading…
Cancel
Save