forked from OSchip/llvm-project
Remove redundant definition of thr in kmp_gsupport.c
There is a thr variable with the same definition at the top of this function as the thr variable inside the if block. llvm-svn: 246064
This commit is contained in:
parent
b1490b6172
commit
57d19ce33a
|
@ -522,8 +522,7 @@ xexpand(KMP_API_NAME_GOMP_PARALLEL_END)(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
if (! __kmp_threads[gtid]->th.th_team->t.t_serialized) {
|
||||
kmp_info_t *thr = __kmp_threads[gtid];
|
||||
if (! thr->th.th_team->t.t_serialized) {
|
||||
__kmp_run_after_invoked_task(gtid, __kmp_tid_from_gtid(gtid), thr,
|
||||
thr->th.th_team);
|
||||
|
||||
|
|
Loading…
Reference in New Issue