summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglmutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/egl/main/eglmutex.h')
-rw-r--r--src/egl/main/eglmutex.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/egl/main/eglmutex.h b/src/egl/main/eglmutex.h
index e46486463b1..1349e9ec78a 100644
--- a/src/egl/main/eglmutex.h
+++ b/src/egl/main/eglmutex.h
@@ -60,8 +60,6 @@ _eglUnlockMutex(_EGLMutex *m)
}
#define _EGL_MUTEX_INITIALIZER PTHREAD_MUTEX_INITIALIZER
-#define _EGL_DECLARE_MUTEX(m) \
- _EGLMutex m = _EGL_MUTEX_INITIALIZER
#else
@@ -72,8 +70,6 @@ static INLINE void _eglLockMutex(_EGLMutex *m) { (void) m; }
static INLINE void _eglUnlockMutex(_EGLMutex *m) { (void) m; }
#define _EGL_MUTEX_INITIALIZER 0
-#define _EGL_DECLARE_MUTEX(m) \
- _EGLMutex m = _EGL_MUTEX_INITIALIZER
#endif