summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2015-08-13 15:26:38 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2015-08-13 15:26:38 +0000
commit221104bec6e14e41f24adfeb6c662341ae11e145 (patch)
tree8e41b02a3b8397782283a501dc4e5e7d2093ef7a
parentabad6186c31c32178892350f680a4762f10047f7 (diff)
downloadbcm5719-llvm-221104bec6e14e41f24adfeb6c662341ae11e145.tar.gz
bcm5719-llvm-221104bec6e14e41f24adfeb6c662341ae11e145.zip
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
-rw-r--r--openmp/runtime/src/kmp.h8
-rw-r--r--openmp/runtime/src/kmp_global.c4
2 files changed, 0 insertions, 12 deletions
diff --git a/openmp/runtime/src/kmp.h b/openmp/runtime/src/kmp.h
index 10213dcf5fc..998446c5814 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 <unistd.h>
diff --git a/openmp/runtime/src/kmp_global.c b/openmp/runtime/src/kmp_global.c
index 49ddbd4eb2a..f3f9fba9350 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
OpenPOWER on IntegriCloud