Remove unused KMP_SETVERSION macro
authorJonathan Peyton <jonathan.l.peyton@intel.com>
Thu, 13 Aug 2015 15:26:38 +0000 (15:26 +0000)
committerJonathan Peyton <jonathan.l.peyton@intel.com>
Thu, 13 Aug 2015 15:26:38 +0000 (15:26 +0000)
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

openmp/runtime/src/kmp.h
openmp/runtime/src/kmp_global.c

index 10213dc..998446c 100644 (file)
@@ -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 <unistd.h>
index 49ddbd4..f3f9fba 100644 (file)
 
 #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