summaryrefslogtreecommitdiff
diff options
-rw-r--r--kern/lock.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/kern/lock.h b/kern/lock.h
index 704118f0..74f2e26e 100644
--- a/kern/lock.h
+++ b/kern/lock.h
@@ -273,12 +273,10 @@ MACRO_BEGIN \
simple_lock_nocheck(l); \
MACRO_END
#define simple_lock_try(l) ({ \
- lock_check_no_interrupts(); \
simple_lock_try_nocheck(l); \
})
#define simple_unlock(l) \
MACRO_BEGIN \
- lock_check_no_interrupts(); \
simple_unlock_nocheck(l); \
MACRO_END
#endif