* removed unused prio function
This commit is contained in:
parent
8b242c74a8
commit
dad5bf866c
@ -40,10 +40,6 @@ int mutex_trylock(struct mutex_t* mutex) {
|
|||||||
return atomic_set_return(&mutex->val, 1 ) == 0;
|
return atomic_set_return(&mutex->val, 1 ) == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int prio() {
|
|
||||||
return active_thread->priority;
|
|
||||||
}
|
|
||||||
|
|
||||||
int mutex_lock(struct mutex_t* mutex) {
|
int mutex_lock(struct mutex_t* mutex) {
|
||||||
DEBUG("%s: trying to get mutex. val: %u\n", active_thread->name, mutex->val);
|
DEBUG("%s: trying to get mutex. val: %u\n", active_thread->name, mutex->val);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user