diff --git a/core/mutex.c b/core/mutex.c index c65946755..9c1c17c83 100644 --- a/core/mutex.c +++ b/core/mutex.c @@ -40,10 +40,6 @@ int mutex_trylock(struct mutex_t* mutex) { return atomic_set_return(&mutex->val, 1 ) == 0; } -static int prio() { - return active_thread->priority; -} - int mutex_lock(struct mutex_t* mutex) { DEBUG("%s: trying to get mutex. val: %u\n", active_thread->name, mutex->val);