Skip to content
Commit f81293d0 authored by Chris Friedt's avatar Chris Friedt Committed by Benjamin Cabé
Browse files

posix: semaphore: explicitly ignore return of k_mutex_unlock()



The nsem_list_unlock() static inline function looks as though it
was designed to always ignore the return value of
k_mutex_unlock(), presumably for performance reasons.

A quick audit of the code looks as though the call should
always succeed.

Prepend (void) to the call to avoid the coverity defect in the
future.

CID 444386

Signed-off-by: default avatarChris Friedt <cfriedt@tenstorrent.com>
parent ed1ebb33
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment