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:
Jonathan Peyton 2015-08-26 19:55:13 +00:00
parent b1490b6172
commit 57d19ce33a
1 changed files with 1 additions and 2 deletions

View File

@ -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);