From 40258fb8b83325bf208876babf779e7ea08a870c Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Mon, 28 Oct 2019 10:03:21 +1100 Subject: util: remove LIST_ADD macro Just use the inlined function directly. The macro was replaced with the function in ebe304fa540f. Reviewed-by: Eric Engestrom --- src/gallium/auxiliary/hud/hud_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/auxiliary/hud') diff --git a/src/gallium/auxiliary/hud/hud_context.c b/src/gallium/auxiliary/hud/hud_context.c index 672ff062830..6cfee81559e 100644 --- a/src/gallium/auxiliary/hud/hud_context.c +++ b/src/gallium/auxiliary/hud/hud_context.c @@ -697,7 +697,7 @@ hud_stop_queries(struct hud_context *hud, struct pipe_context *pipe) if (gr->current_value < LIST_ENTRY(struct hud_graph, next, head)->current_value) { LIST_DEL(&gr->head); - LIST_ADD(&gr->head, &next->head); + list_add(&gr->head, &next->head); } } } -- cgit v1.2.3