From 365253605aac3f6aa3a4cc3712acc28239844813 Mon Sep 17 00:00:00 2001 From: Yonggang Luo Date: Sat, 25 Jun 2022 13:32:32 +0800 Subject: [PATCH] util: Remove usage of USE_ELF_TLS in u_thread.h Signed-off-by: Yonggang Luo Reviewed-by: Emil Velikov Part-of: --- src/util/u_thread.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/util/u_thread.h b/src/util/u_thread.h index 98b7978b752..804593f63eb 100644 --- a/src/util/u_thread.h +++ b/src/util/u_thread.h @@ -78,7 +78,6 @@ * still want to use normal TLS (which involves a function call, but not the * expensive pthread_getspecific() or its equivalent). */ -#ifdef USE_ELF_TLS #if DETECT_OS_APPLE /* Apple Clang emits wrappers when using thread_local that break module linkage, * but not with __thread @@ -90,7 +89,6 @@ #else #define __THREAD_INITIAL_EXEC thread_local #endif -#endif static inline int util_get_current_cpu(void)