[Openmp-commits] [openmp] r246059 - Remove unused caller_gtid variable in both z_Linux_util.c and z_Windows_NT_util.c
Jonathan Peyton via Openmp-commits
openmp-commits at lists.llvm.org
Wed Aug 26 12:43:16 PDT 2015
Author: jlpeyton
Date: Wed Aug 26 14:43:15 2015
New Revision: 246059
URL: http://llvm.org/viewvc/llvm-project?rev=246059&view=rev
Log:
Remove unused caller_gtid variable in both z_Linux_util.c and z_Windows_NT_util.c
Modified:
openmp/trunk/runtime/src/z_Linux_util.c
openmp/trunk/runtime/src/z_Windows_NT_util.c
Modified: openmp/trunk/runtime/src/z_Linux_util.c
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/z_Linux_util.c?rev=246059&r1=246058&r2=246059&view=diff
==============================================================================
--- openmp/trunk/runtime/src/z_Linux_util.c (original)
+++ openmp/trunk/runtime/src/z_Linux_util.c Wed Aug 26 14:43:15 2015
@@ -1113,11 +1113,8 @@ __kmp_create_monitor( kmp_info_t *th )
pthread_attr_t thread_attr;
size_t size;
int status;
- int caller_gtid;
int auto_adj_size = FALSE;
- caller_gtid = __kmp_get_gtid();
-
KA_TRACE( 10, ("__kmp_create_monitor: try to create monitor\n" ) );
KMP_MB(); /* Flush all pending memory write invalidates. */
Modified: openmp/trunk/runtime/src/z_Windows_NT_util.c
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/z_Windows_NT_util.c?rev=246059&r1=246058&r2=246059&view=diff
==============================================================================
--- openmp/trunk/runtime/src/z_Windows_NT_util.c (original)
+++ openmp/trunk/runtime/src/z_Windows_NT_util.c Wed Aug 26 14:43:15 2015
@@ -1427,7 +1427,6 @@ __kmp_create_monitor( kmp_info_t *th )
kmp_thread_t handle;
DWORD idThread;
int ideal, new_ideal;
- int caller_gtid = __kmp_get_gtid();
KA_TRACE( 10, ("__kmp_create_monitor: try to create monitor\n" ) );
More information about the Openmp-commits
mailing list