diff options
author | Richard Braun <rbraun@sceen.net> | 2014-08-15 20:55:19 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2014-08-15 20:55:19 +0200 |
commit | eefc813bc7424112708992dfbf24def73c92f5de (patch) | |
tree | 69d6719073958c49c62c57c8ce5e1635b45950bb /kern/mutex.h | |
parent | 40502c5f7465300b2bc0cb44325db38b23449deb (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.h | 3 |
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) { |