whisper : remove unnecessary GGML_UNUSED macro (#2960)

This commit is contained in:
Daniel Bevenius 2025-03-30 05:56:10 +02:00 committed by GitHub
parent 6e7629b146
commit f92bd59951
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1370,8 +1370,6 @@ static std::vector<ggml_backend_t> whisper_backend_init(const whisper_context_pa
}
}
GGML_UNUSED(params);
ggml_backend_t backend_cpu = ggml_backend_init_by_type(GGML_BACKEND_DEVICE_TYPE_CPU, nullptr);
if (backend_cpu == nullptr) {
throw std::runtime_error("failed to initialize CPU backend");