From 1b01c0cc4e50c0765eb20ebf5e909312f0b3c122 Mon Sep 17 00:00:00 2001
From: Daniel Bevenius <daniel.bevenius@gmail.com>
Date: Fri, 13 Jun 2025 09:05:44 +0200
Subject: [PATCH] ggml : remove unused ggml_context_container (ggml/1272)

This commit removes the unused `ggml_context_container` structure from
the ggml library. It looks like the usage of this struct was removed in
Commit 4757fe18d56ec11bf9c07feaca6e9d5b5357e7f4 ("ggml : alloc
ggml_contexts on the heap (whisper/2525)").

The motivation for this changes is to improve code clarity/readability.
---
 ggml/src/ggml.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/ggml/src/ggml.c b/ggml/src/ggml.c
index 196b7b8f..a8edad37 100644
--- a/ggml/src/ggml.c
+++ b/ggml/src/ggml.c
@@ -888,12 +888,6 @@ struct ggml_context {
     struct ggml_object * objects_end;
 };
 
-struct ggml_context_container {
-    bool used;
-
-    struct ggml_context context;
-};
-
 //
 // data types
 //