correct kernel doesn't detach error handling

This commit is contained in:
matthias.ringwald 2009-07-11 10:54:59 +00:00
parent c7b9c5599d
commit 370399f9f8

View File

@ -163,7 +163,6 @@ static int usb_open(void *transport_config){
r = libusb_detach_kernel_driver (handle, 0);
if (r < 0) {
fprintf(stderr, "libusb_detach_kernel_driver error %d\n", r);
goto close;
usb_close();
return r;
}