summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/trace/tr_dump.c
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/drivers/trace/tr_dump.c
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/drivers/trace/tr_dump.c')
-rw-r--r--src/gallium/drivers/trace/tr_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/trace/tr_dump.c b/src/gallium/drivers/trace/tr_dump.c
index 112a69e29c1..b052e2a573e 100644
--- a/src/gallium/drivers/trace/tr_dump.c
+++ b/src/gallium/drivers/trace/tr_dump.c
@@ -59,7 +59,7 @@
static boolean close_stream = FALSE;
static FILE *stream = NULL;
-pipe_static_mutex(call_mutex);
+static mtx_t call_mutex = _MTX_INITIALIZER_NP;
static long unsigned call_no = 0;
static boolean dumping = FALSE;