Remove unused _cogl_memory_stack_rewind

Never used in mutter AFAICT.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3178>
This commit is contained in:
Michel Dänzer 2023-08-11 18:38:52 +02:00 committed by Marge Bot
parent 935cb48f71
commit 0363f68561
2 changed files with 0 additions and 12 deletions

View File

@ -40,8 +40,5 @@ _cogl_memory_stack_new (size_t initial_size_bytes);
void *
_cogl_memory_stack_alloc (CoglMemoryStack *stack, size_t bytes);
void
_cogl_memory_stack_rewind (CoglMemoryStack *stack);
void
_cogl_memory_stack_free (CoglMemoryStack *stack);

View File

@ -162,15 +162,6 @@ _cogl_memory_stack_alloc (CoglMemoryStack *stack, size_t bytes)
return sub_stack->data;
}
void
_cogl_memory_stack_rewind (CoglMemoryStack *stack)
{
stack->sub_stack = _cogl_container_of (stack->sub_stacks.next,
CoglMemorySubStack,
link);
stack->sub_stack_offset = 0;
}
static void
_cogl_memory_sub_stack_free (CoglMemorySubStack *sub_stack)
{