From 0f18ada7bbd914b9e4c74e6ad5c368553f8bfa8f Mon Sep 17 00:00:00 2001 From: Michael Klimenko Date: Sat, 27 Jan 2024 22:37:07 +0100 Subject: [PATCH] Remove trailing whitespace --- ggml-backend.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ggml-backend.c b/ggml-backend.c index 9cdce576f..b3a535cd2 100644 --- a/ggml-backend.c +++ b/ggml-backend.c @@ -723,8 +723,8 @@ static struct ggml_backend_i cpu_backend_i = { }; ggml_backend_t ggml_backend_cpu_init(void) { - struct ggml_backend_cpu_context * ctx = malloc(sizeof(struct ggml_backend_cpu_context)); - + struct ggml_backend_cpu_context* ctx = malloc(sizeof(struct ggml_backend_cpu_context)); + GGML_ASSERT(ctx != NULL); ctx->n_threads = GGML_DEFAULT_N_THREADS; ctx->work_data = NULL; @@ -733,7 +733,7 @@ ggml_backend_t ggml_backend_cpu_init(void) { ggml_backend_t cpu_backend = malloc(sizeof(struct ggml_backend)); GGML_ASSERT(cpu_backend != NULL); - *cpu_backend = (struct ggml_backend) { + *cpu_backend = (struct ggml_backend){ /* .interface = */ cpu_backend_i, /* .context = */ ctx };