diff options
author | Timothy Arceri <[email protected]> | 2019-10-28 10:03:21 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2019-10-28 11:24:38 +0000 |
commit | 40258fb8b83325bf208876babf779e7ea08a870c (patch) | |
tree | ce46b3e5d3d3b14d16f5f26427da0b42e93ece8e /src/gallium/auxiliary/hud | |
parent | 255de06c5990797832678d7af01876a1afca5b50 (diff) |
util: remove LIST_ADD 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/auxiliary/hud')
-rw-r--r-- | src/gallium/auxiliary/hud/hud_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } } |