summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2015-08-26 19:43:15 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2015-08-26 19:43:15 +0000
commit0cad3feba7d8fb8fa47a589b9e0cc57f0b63ce73 (patch)
tree0c1af9df71052bde42efb0dd2cbcb50cfb321830
parent966eba0585d506f0aa90ff8a5c77deb7473202f8 (diff)
downloadbcm5719-llvm-0cad3feba7d8fb8fa47a589b9e0cc57f0b63ce73.tar.gz
bcm5719-llvm-0cad3feba7d8fb8fa47a589b9e0cc57f0b63ce73.zip
Remove unused caller_gtid variable in both z_Linux_util.c and z_Windows_NT_util.c
llvm-svn: 246059
-rw-r--r--openmp/runtime/src/z_Linux_util.c3
-rw-r--r--openmp/runtime/src/z_Windows_NT_util.c1
2 files changed, 0 insertions, 4 deletions
diff --git a/openmp/runtime/src/z_Linux_util.c b/openmp/runtime/src/z_Linux_util.c
index c476ebff785..c419edb9802 100644
--- a/openmp/runtime/src/z_Linux_util.c
+++ b/openmp/runtime/src/z_Linux_util.c
@@ -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. */
diff --git a/openmp/runtime/src/z_Windows_NT_util.c b/openmp/runtime/src/z_Windows_NT_util.c
index bfeb1b18b63..61ed2ce897e 100644
--- a/openmp/runtime/src/z_Windows_NT_util.c
+++ b/openmp/runtime/src/z_Windows_NT_util.c
@@ -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" ) );
OpenPOWER on IntegriCloud