From cd0248c162586fdde386935b9a797f3dde03bbb0 Mon Sep 17 00:00:00 2001 From: Angel Cascarino Date: Tue, 4 Jan 2022 14:19:54 +0000 Subject: [PATCH] Removed locks in isReportDesciptorPrepared --- lib_xua/src/hid/hid_report.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib_xua/src/hid/hid_report.c b/lib_xua/src/hid/hid_report.c index 60dbed35..be5534eb 100644 --- a/lib_xua/src/hid/hid_report.c +++ b/lib_xua/src/hid/hid_report.c @@ -228,9 +228,7 @@ unsigned hidGetNextReportTime( const unsigned id ) unsigned hidIsReportDescriptorPrepared( void ) { - hwlock_acquire(hidStaticVarLock); return s_hidReportDescriptorPrepared; - hwlock_release(hidStaticVarLock); } unsigned char* hidGetReportDescriptor( void )