Mesa (main): nouveau/mm: remove unused nouveau_mm_allocation.next field
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon May 10 12:30:25 UTC 2021
Module: Mesa
Branch: main
Commit: e9c6569227ece212de522f4d5c158385aa71209d
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e9c6569227ece212de522f4d5c158385aa71209d
Author: Karol Herbst <kherbst at redhat.com>
Date: Wed Apr 28 14:39:06 2021 +0200
nouveau/mm: remove unused nouveau_mm_allocation.next field
Signed-off-by: Karol Herbst <kherbst at redhat.com>
Reviewed-by: Pierre Moreau <dev at pmoreau.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8765>
---
src/gallium/drivers/nouveau/nouveau_mm.c | 1 -
src/gallium/drivers/nouveau/nouveau_mm.h | 1 -
2 files changed, 2 deletions(-)
diff --git a/src/gallium/drivers/nouveau/nouveau_mm.c b/src/gallium/drivers/nouveau/nouveau_mm.c
index 66ac862d369..887c05300c3 100644
--- a/src/gallium/drivers/nouveau/nouveau_mm.c
+++ b/src/gallium/drivers/nouveau/nouveau_mm.c
@@ -207,7 +207,6 @@ nouveau_mm_allocate(struct nouveau_mman *cache,
list_add(&slab->head, &bucket->full);
}
- alloc->next = NULL;
alloc->offset = *offset;
alloc->priv = (void *)slab;
diff --git a/src/gallium/drivers/nouveau/nouveau_mm.h b/src/gallium/drivers/nouveau/nouveau_mm.h
index 8e4f1e5713f..7b32ba3e75b 100644
--- a/src/gallium/drivers/nouveau/nouveau_mm.h
+++ b/src/gallium/drivers/nouveau/nouveau_mm.h
@@ -8,7 +8,6 @@ struct nouveau_mman;
* them. This struct is linked with fences for delayed freeing of allocs.
*/
struct nouveau_mm_allocation {
- struct nouveau_mm_allocation *next;
void *priv;
uint32_t offset;
};
More information about the mesa-commit
mailing list