From acdcaf9be4695ccdc4a589a3416591dd316e876c Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Sun, 5 Mar 2017 12:32:02 +1100 Subject: gallium/util: remove pipe_static_mutex() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This was made unnecessary with fd33a6bcd7f12. Reviewed-by: Marek Olšák --- src/gallium/winsys/etnaviv/drm/etnaviv_drm_winsys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/winsys/etnaviv/drm') diff --git a/src/gallium/winsys/etnaviv/drm/etnaviv_drm_winsys.c b/src/gallium/winsys/etnaviv/drm/etnaviv_drm_winsys.c index 3b34c300add..141191f3d93 100644 --- a/src/gallium/winsys/etnaviv/drm/etnaviv_drm_winsys.c +++ b/src/gallium/winsys/etnaviv/drm/etnaviv_drm_winsys.c @@ -69,7 +69,7 @@ screen_create(struct renderonly *ro) static struct util_hash_table *etna_tab = NULL; -pipe_static_mutex(etna_screen_mutex); +static mtx_t etna_screen_mutex = _MTX_INITIALIZER_NP; static void etna_drm_screen_destroy(struct pipe_screen *pscreen) -- cgit v1.2.3