summaryrefslogtreecommitdiff
path: root/kern/mutex.h
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2014-08-15 20:55:19 +0200
committerRichard Braun <rbraun@sceen.net>2014-08-15 20:55:19 +0200
commiteefc813bc7424112708992dfbf24def73c92f5de (patch)
tree69d6719073958c49c62c57c8ce5e1635b45950bb /kern/mutex.h
parent40502c5f7465300b2bc0cb44325db38b23449deb (diff)
Remove static initializer macros
These initializers are unnecessary, unused, and cumbersome to maintain.
Diffstat (limited to 'kern/mutex.h')
-rw-r--r--kern/mutex.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/kern/mutex.h b/kern/mutex.h
index 011f7033..d3fe74b5 100644
--- a/kern/mutex.h
+++ b/kern/mutex.h
@@ -31,9 +31,6 @@
struct mutex;
-#define MUTEX_INITIALIZER(mutex) \
- { MUTEX_UNLOCKED, SPINLOCK_INITIALIZER, LIST_INITIALIZER((mutex).waiters) }
-
static inline void
mutex_init(struct mutex *mutex)
{