summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/omx
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-03-05 12:32:02 +1100
committerTimothy Arceri <[email protected]>2017-03-07 08:48:16 +1100
commitacdcaf9be4695ccdc4a589a3416591dd316e876c (patch)
tree7c7e1e3f0c1e7509141ed3c54571ebf847321f53 /src/gallium/state_trackers/omx
parent2efddc63ee864ab917e444b68a7c2dcf520d451e (diff)
gallium/util: remove pipe_static_mutex()
This was made unnecessary with fd33a6bcd7f12. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/omx')
-rw-r--r--src/gallium/state_trackers/omx/entrypoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/omx/entrypoint.c b/src/gallium/state_trackers/omx/entrypoint.c
index afcbd974e76..c12eb207ea8 100644
--- a/src/gallium/state_trackers/omx/entrypoint.c
+++ b/src/gallium/state_trackers/omx/entrypoint.c
@@ -45,7 +45,7 @@
#include "vid_dec.h"
#include "vid_enc.h"
-pipe_static_mutex(omx_lock);
+static mtx_t omx_lock = _MTX_INITIALIZER_NP;
static Display *omx_display = NULL;
static struct vl_screen *omx_screen = NULL;
static unsigned omx_usecount = 0;