diff --git a/crypto/thread/arch/thread_none.c b/crypto/thread/arch/thread_none.c index 431a9b6a35..c9c047c8e7 100644 --- a/crypto/thread/arch/thread_none.c +++ b/crypto/thread/arch/thread_none.c @@ -70,8 +70,4 @@ void ossl_crypto_condvar_free(CRYPTO_CONDVAR **cv) { } -void ossl_crypto_mem_barrier(void) -{ -} - #endif diff --git a/crypto/thread/arch/thread_win.c b/crypto/thread/arch/thread_win.c index b4c0500936..5bef48458e 100644 --- a/crypto/thread/arch/thread_win.c +++ b/crypto/thread/arch/thread_win.c @@ -179,9 +179,4 @@ void ossl_crypto_condvar_free(CRYPTO_CONDVAR **cv) *cv_p = NULL; } -void ossl_crypto_mem_barrier(void) -{ - MemoryBarrier(); -} - #endif diff --git a/include/internal/thread_arch.h b/include/internal/thread_arch.h index 171ea2286b..bf00000606 100644 --- a/include/internal/thread_arch.h +++ b/include/internal/thread_arch.h @@ -117,6 +117,4 @@ int ossl_crypto_thread_native_exit(void); int ossl_crypto_thread_native_is_self(CRYPTO_THREAD *thread); int ossl_crypto_thread_native_clean(CRYPTO_THREAD *thread); -void ossl_crypto_mem_barrier(void); - #endif /* OSSL_INTERNAL_THREAD_ARCH_H */