Skip to content

Commit eb182fa

Browse files
danbevqnixsynapse
authored andcommitted
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 4757fe1 ("ggml : alloc ggml_contexts on the heap (whisper/2525)"). The motivation for this changes is to improve code clarity/readability.
1 parent e5a8216 commit eb182fa

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

ggml/src/ggml.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -888,12 +888,6 @@ struct ggml_context {
888888
struct ggml_object * objects_end;
889889
};
890890

891-
struct ggml_context_container {
892-
bool used;
893-
894-
struct ggml_context context;
895-
};
896-
897891
//
898892
// data types
899893
//

0 commit comments

Comments
 (0)