[OpenMP] libomp: cleanup dead code
authorAndreyChurbanov <andrey.churbanov@intel.com>
Thu, 5 May 2022 15:55:52 +0000 (10:55 -0500)
committerJonathan Peyton <jonathan.l.peyton@intel.com>
Thu, 5 May 2022 15:56:49 +0000 (10:56 -0500)
Differential Revision: https://reviews.llvm.org/D123047

openmp/runtime/src/kmp.h

index fbc2eda..fe4d551 100644 (file)
@@ -100,12 +100,6 @@ class kmp_stats_list;
 #ifndef HWLOC_OBJ_PACKAGE
 #define HWLOC_OBJ_PACKAGE HWLOC_OBJ_SOCKET
 #endif
-#if HWLOC_API_VERSION >= 0x00020000
-// hwloc 2.0 changed type of depth of object from unsigned to int
-typedef int kmp_hwloc_depth_t;
-#else
-typedef unsigned int kmp_hwloc_depth_t;
-#endif
 #endif
 
 #if KMP_ARCH_X86 || KMP_ARCH_X86_64