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; };