From: Jonathan Peyton Date: Thu, 13 Aug 2015 15:26:38 +0000 (+0000) Subject: Remove unused KMP_SETVERSION macro X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=221104bec6e14e41f24adfeb6c662341ae11e145;p=platform%2Fupstream%2Fllvm.git Remove unused KMP_SETVERSION macro This macro and the small amount of code along with it are unused and can be removed. The macro is never defined in any build script or source file. llvm-svn: 244899 --- diff --git a/openmp/runtime/src/kmp.h b/openmp/runtime/src/kmp.h index 10213dc..998446c 100644 --- a/openmp/runtime/src/kmp.h +++ b/openmp/runtime/src/kmp.h @@ -93,14 +93,6 @@ class kmp_stats_list; #define KMP_HANDLE_SIGNALS (KMP_OS_LINUX || KMP_OS_FREEBSD || KMP_OS_WINDOWS || KMP_OS_DARWIN) -#ifdef KMP_SETVERSION -/* from factory/Include, to get VERSION_STRING embedded for 'what' */ -#include "kaiconfig.h" -#include "eye.h" -#include "own.h" -#include "setversion.h" -#endif - #include "kmp_wrapper_malloc.h" #if KMP_OS_UNIX # include diff --git a/openmp/runtime/src/kmp_global.c b/openmp/runtime/src/kmp_global.c index 49ddbd4..f3f9fba 100644 --- a/openmp/runtime/src/kmp_global.c +++ b/openmp/runtime/src/kmp_global.c @@ -15,10 +15,6 @@ #include "kmp.h" -#ifdef KMP_SETVERSION -char __kmp_setversion_string[] = VERSION_STRING; -#endif - kmp_key_t __kmp_gtid_threadprivate_key; kmp_cpuinfo_t __kmp_cpuinfo = { 0 }; // Not initialized