Removed locks from hidSetReportItem

This commit is contained in:
Angel Cascarino
2022-01-04 14:07:06 +00:00
parent 911c8c51f2
commit 55de7a8abd

View File

@@ -508,7 +508,6 @@ unsigned hidSetReportItem(
const unsigned char data[] const unsigned char data[]
) )
{ {
hwlock_acquire(hidStaticVarLock);
unsigned retVal = HID_STATUS_IN_USE; unsigned retVal = HID_STATUS_IN_USE;
if( !s_hidReportDescriptorPrepared ) { if( !s_hidReportDescriptorPrepared ) {
@@ -555,8 +554,6 @@ unsigned hidSetReportItem(
} }
} }
} }
hwlock_release(hidStaticVarLock);
return retVal; return retVal;
} }