core: Remove leftover usbi_mutex_unlock in libusb_set_interface_alt_setting

Fixup of commit 1a08aa8.

Closes #1200
This commit is contained in:
Pablo Prietz
2022-09-21 11:59:35 +02:00
committed by Tormod Volden
parent f3619c4078
commit 18a64374e1
2 changed files with 1 additions and 2 deletions

View File

@@ -1763,7 +1763,6 @@ int API_EXPORTED libusb_set_interface_alt_setting(libusb_device_handle *dev_hand
return LIBUSB_ERROR_INVALID_PARAM;
if (!usbi_atomic_load(&dev_handle->dev->attached)) {
usbi_mutex_unlock(&dev_handle->lock);
return LIBUSB_ERROR_NO_DEVICE;
}

View File

@@ -1 +1 @@
#define LIBUSB_NANO 11748
#define LIBUSB_NANO 11749