mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
* 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;
|
||||
}
|
||||
|
||||
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user