Skip to content
Snippets Groups Projects
Commit 8031eeae authored by Nadav Har'El's avatar Nadav Har'El
Browse files

mutex: remove silly "return"

Returning a void does nothing, and just confusing.
parent aac18bc2
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ static inline bool mutex_trylock(mutex_t* m)
}
static inline void mutex_unlock(mutex_t* m)
{
return m->unlock();
m->unlock();
}
static inline bool mutex_owned(mutex_t* m)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment