From: AndreyChurbanov Date: Thu, 5 May 2022 15:55:52 +0000 (-0500) Subject: [OpenMP] libomp: cleanup dead code X-Git-Tag: upstream/15.0.7~8551 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eed0d8515295d83ba6bd608096df820ce329426e;p=platform%2Fupstream%2Fllvm.git [OpenMP] libomp: cleanup dead code Differential Revision: https://reviews.llvm.org/D123047 --- diff --git a/openmp/runtime/src/kmp.h b/openmp/runtime/src/kmp.h index fbc2eda..fe4d551 100644 --- a/openmp/runtime/src/kmp.h +++ b/openmp/runtime/src/kmp.h @@ -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