diff options
author | Timothy Arceri <[email protected]> | 2019-10-28 09:58:31 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2019-10-28 11:24:38 +0000 |
commit | 255de06c5990797832678d7af01876a1afca5b50 (patch) | |
tree | 3e17df349ea8b38c0acb4ac570a39c833858b47b /src/mesa | |
parent | 7ae1be102877c2623d16ff72a2ef198de6c301fe (diff) |
util: remove LIST_ADDTAIL 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/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c index 83667994293..78d951d2a11 100644 --- a/src/mesa/state_tracker/st_context.c +++ b/src/mesa/state_tracker/st_context.c @@ -307,7 +307,7 @@ st_save_zombie_sampler_view(struct st_context *st, * while free_zombie_resource_views() is called from another. */ simple_mtx_lock(&st->zombie_sampler_views.mutex); - LIST_ADDTAIL(&entry->node, &st->zombie_sampler_views.list.node); + list_addtail(&entry->node, &st->zombie_sampler_views.list.node); simple_mtx_unlock(&st->zombie_sampler_views.mutex); } @@ -340,7 +340,7 @@ st_save_zombie_shader(struct st_context *st, * while free_zombie_shaders() is called from another. */ simple_mtx_lock(&st->zombie_shaders.mutex); - LIST_ADDTAIL(&entry->node, &st->zombie_shaders.list.node); + list_addtail(&entry->node, &st->zombie_shaders.list.node); simple_mtx_unlock(&st->zombie_shaders.mutex); } |