9
0
Fork 0

USB gadget: Remove redundant assignment

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Alexander Shiyan 2014-02-16 08:40:48 +04:00 committed by Sascha Hauer
parent 56b3558f1d
commit 07a6c818ef
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ int __init usb_interface_id(struct usb_configuration *config,
static int config_buf(struct usb_configuration *config,
enum usb_device_speed speed, void *buf, u8 type)
{
struct usb_config_descriptor *c = buf;
struct usb_config_descriptor *c;
void *next = buf + USB_DT_CONFIG_SIZE;
int len = USB_BUFSIZ - USB_DT_CONFIG_SIZE;
struct usb_function *f;