sw: usb-dev: remove errant i++

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2019-03-10 22:46:02 +08:00
parent 5bcd6c44fb
commit f5fd282d61

View File

@ -102,7 +102,6 @@ void usb_setup(struct usb_device *dev, const struct usb_setup_request *setup)
}
goto send;
}
i++;
}
printf("%s:%d couldn't find descriptor %04x (%d / %d)\n", __FILE__, __LINE__, setup->wValue, setup->wIndex, setup->wValue);
usb_err(dev, 0);