From 221104bec6e14e41f24adfeb6c662341ae11e145 Mon Sep 17 00:00:00 2001 From: Jonathan Peyton Date: Thu, 13 Aug 2015 15:26:38 +0000 Subject: [PATCH] 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 --- openmp/runtime/src/kmp.h | 8 -------- openmp/runtime/src/kmp_global.c | 4 ---- 2 files changed, 12 deletions(-) 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 -- 2.7.4