From e9c6569227ece212de522f4d5c158385aa71209d Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Wed, 28 Apr 2021 14:39:06 +0200 Subject: [PATCH] nouveau/mm: remove unused nouveau_mm_allocation.next field Signed-off-by: Karol Herbst Reviewed-by: Pierre Moreau Part-of: --- 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; };