summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2019-10-28 10:05:45 +1100
committerTimothy Arceri <[email protected]>2019-10-28 11:24:38 +0000
commitd23d47c065502e6daaa1074f4e6457120dfa152b (patch)
treef3f163370247a6197986f54389651fbc2b18a843 /src/gallium
parent40258fb8b83325bf208876babf779e7ea08a870c (diff)
util: remove LIST_REPLACE macro
Just use the inlined function directly. The macro was replaced with the function in ebe304fa540f. Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/util/u_debug_memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_debug_memory.c b/src/gallium/auxiliary/util/u_debug_memory.c
index 7f0ac026c8c..70f51144fa9 100644
--- a/src/gallium/auxiliary/util/u_debug_memory.c
+++ b/src/gallium/auxiliary/util/u_debug_memory.c
@@ -275,7 +275,7 @@ debug_realloc(const char *file, unsigned line, const char *function,
new_ftr->magic = DEBUG_MEMORY_MAGIC;
mtx_lock(&list_mutex);
- LIST_REPLACE(&old_hdr->head, &new_hdr->head);
+ list_replace(&old_hdr->head, &new_hdr->head);
mtx_unlock(&list_mutex);
/* copy data */