summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/hud/hud_cpufreq.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/auxiliary/hud/hud_cpufreq.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/auxiliary/hud/hud_cpufreq.c')
-rw-r--r--src/gallium/auxiliary/hud/hud_cpufreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/hud/hud_cpufreq.c b/src/gallium/auxiliary/hud/hud_cpufreq.c
index 78754b28a9e..41e5827c663 100644
--- a/src/gallium/auxiliary/hud/hud_cpufreq.c
+++ b/src/gallium/auxiliary/hud/hud_cpufreq.c
@@ -62,7 +62,7 @@ struct cpufreq_info
static int gcpufreq_count = 0;
static struct list_head gcpufreq_list;
-pipe_static_mutex(gcpufreq_mutex);
+static mtx_t gcpufreq_mutex = _MTX_INITIALIZER_NP;
static struct cpufreq_info *
find_cfi_by_index(int cpu_index, int mode)