mirror of
https://github.com/shadps4-emu/ext-libusb.git
synced 2026-01-31 00:55:21 +01:00
core: Remove leftover usbi_mutex_unlock in libusb_set_interface_alt_setting
Fixup of commit 1a08aa8.
Closes #1200
This commit is contained in:
committed by
Tormod Volden
parent
f3619c4078
commit
18a64374e1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
#define LIBUSB_NANO 11748
|
||||
#define LIBUSB_NANO 11749
|
||||
|
||||
Reference in New Issue
Block a user