From 55de7a8abd25e7a3ed1eec4e066078448e741c53 Mon Sep 17 00:00:00 2001 From: Angel Cascarino Date: Tue, 4 Jan 2022 14:07:06 +0000 Subject: [PATCH] Removed locks from hidSetReportItem --- lib_xua/src/hid/hid_report.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib_xua/src/hid/hid_report.c b/lib_xua/src/hid/hid_report.c index 9017ec63..60dbed35 100644 --- a/lib_xua/src/hid/hid_report.c +++ b/lib_xua/src/hid/hid_report.c @@ -508,7 +508,6 @@ unsigned hidSetReportItem( const unsigned char data[] ) { - hwlock_acquire(hidStaticVarLock); unsigned retVal = HID_STATUS_IN_USE; if( !s_hidReportDescriptorPrepared ) { @@ -555,8 +554,6 @@ unsigned hidSetReportItem( } } } - - hwlock_release(hidStaticVarLock); return retVal; }