Skip to content

Commit e7b8e30

Browse files
committed
Fix usage of Mutex::unlock() function - ignore returned value.
1 parent c693eb5 commit e7b8e30

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

features/lorawan/lorastack/mac/LoRaMac.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -415,9 +415,7 @@ class LoRaMac {
415415
}
416416
void unlock(void)
417417
{
418-
osStatus status = _mutex.unlock();
419-
MBED_ASSERT(status == osOK);
420-
(void) status;
418+
_mutex.unlock();
421419
}
422420
#else
423421
void lock(void) { }

0 commit comments

Comments
 (0)