summaryrefslogtreecommitdiff
path: root/kern/mutex/mutex_adaptive.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/mutex/mutex_adaptive.c')
-rw-r--r--kern/mutex/mutex_adaptive.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kern/mutex/mutex_adaptive.c b/kern/mutex/mutex_adaptive.c
index 8da55270..68b006ad 100644
--- a/kern/mutex/mutex_adaptive.c
+++ b/kern/mutex/mutex_adaptive.c
@@ -24,7 +24,6 @@
#include <kern/clock.h>
#include <kern/error.h>
#include <kern/init.h>
-#include <kern/macros.h>
#include <kern/mutex.h>
#include <kern/mutex_types.h>
#include <kern/sleepq.h>
@@ -236,7 +235,7 @@ out:
void
mutex_adaptive_lock_slow(struct mutex *mutex)
{
- __unused int error;
+ int error;
error = mutex_adaptive_lock_slow_common(mutex, false, 0);
assert(!error);