sysclk-lwla: Remove double USB set configuration

This was a pointless attempt to make the reset hiccups go away.
It didn't help, the problem must be something else.
This commit is contained in:
Daniel Elstner 2015-11-27 21:26:13 +01:00
parent 7ed808179f
commit 567674b4f8
1 changed files with 0 additions and 4 deletions

View File

@ -274,10 +274,6 @@ static int dev_open(struct sr_dev_inst *sdi)
if (ret != SR_OK)
return ret;
/* Set the configuration twice to trigger a lightweight reset.
*/
ret = libusb_set_configuration(usb->devhdl, USB_CONFIG);
if (ret == 0)
ret = libusb_set_configuration(usb->devhdl, USB_CONFIG);
if (ret != 0) {
sr_err("Failed to set USB configuration: %s.",