From: Milan Broz Date: Wed, 22 Apr 2026 13:25:31 +0000 (+0200) Subject: Remove unused ossl_crypto_mem_barrier in old Windows threads X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acd496954682a4f70f6e33820393b1e3ea2fdf3b;p=thirdparty%2Fopenssl.git Remove unused ossl_crypto_mem_barrier in old Windows threads This function is unused and only causes missing prototype warning. Reviewed-by: Tomas Mraz Reviewed-by: Eugene Syromiatnikov Reviewed-by: Norbert Pocs MergeDate: Thu Apr 30 11:42:26 2026 (Merged from https://github.com/openssl/openssl/pull/30941) --- diff --git a/crypto/thread/arch/thread_win.c b/crypto/thread/arch/thread_win.c index 32400547026..b26a1d917a6 100644 --- a/crypto/thread/arch/thread_win.c +++ b/crypto/thread/arch/thread_win.c @@ -590,10 +590,4 @@ void ossl_crypto_condvar_free(CRYPTO_CONDVAR **cv) } #endif - -void ossl_crypto_mem_barrier(void) -{ - MemoryBarrier(); -} - #endif