From: Daniel Bevenius Date: Fri, 13 Jun 2025 07:05:44 +0000 (+0200) Subject: ggml : remove unused ggml_context_container (ggml/1272) X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=1b01c0cc4e50c0765eb20ebf5e909312f0b3c122;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp 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. --- 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 //