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/gallium/drivers/nouveau/nouveau_mm.c | |
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/gallium/drivers/nouveau/nouveau_mm.c')
-rw-r--r-- | src/gallium/drivers/nouveau/nouveau_mm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nouveau/nouveau_mm.c b/src/gallium/drivers/nouveau/nouveau_mm.c index 9e5f908a10d..90a9ea2d92d 100644 --- a/src/gallium/drivers/nouveau/nouveau_mm.c +++ b/src/gallium/drivers/nouveau/nouveau_mm.c @@ -223,11 +223,11 @@ nouveau_mm_free(struct nouveau_mm_allocation *alloc) if (slab->free == slab->count) { LIST_DEL(&slab->head); - LIST_ADDTAIL(&slab->head, &bucket->free); + list_addtail(&slab->head, &bucket->free); } else if (slab->free == 1) { LIST_DEL(&slab->head); - LIST_ADDTAIL(&slab->head, &bucket->used); + list_addtail(&slab->head, &bucket->used); } FREE(alloc); |