Skip to content

Commit 0cad3fe

Browse files
committed
Remove unused caller_gtid variable in both z_Linux_util.c and z_Windows_NT_util.c
llvm-svn: 246059
1 parent 966eba0 commit 0cad3fe

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

openmp/runtime/src/z_Linux_util.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1113,11 +1113,8 @@ __kmp_create_monitor( kmp_info_t *th )
11131113
pthread_attr_t thread_attr;
11141114
size_t size;
11151115
int status;
1116-
int caller_gtid;
11171116
int auto_adj_size = FALSE;
11181117

1119-
caller_gtid = __kmp_get_gtid();
1120-
11211118
KA_TRACE( 10, ("__kmp_create_monitor: try to create monitor\n" ) );
11221119

11231120
KMP_MB(); /* Flush all pending memory write invalidates. */

openmp/runtime/src/z_Windows_NT_util.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1427,7 +1427,6 @@ __kmp_create_monitor( kmp_info_t *th )
14271427
kmp_thread_t handle;
14281428
DWORD idThread;
14291429
int ideal, new_ideal;
1430-
int caller_gtid = __kmp_get_gtid();
14311430

14321431
KA_TRACE( 10, ("__kmp_create_monitor: try to create monitor\n" ) );
14331432

0 commit comments

Comments
 (0)