Remove duplicate of num_threads assignment.

The th.th_team_nproc is assigned in __kmp_allocate_thread() just 3 lines above,
so there is no need to assign the same value again.

llvm-svn: 246703
This commit is contained in:
Jonathan Peyton 2015-09-02 20:28:50 +00:00
parent 0df0391fb6
commit cb549f836a
1 changed files with 0 additions and 1 deletions

View File

@ -5049,7 +5049,6 @@ __kmp_allocate_team( kmp_root_t *root, int new_nproc, int max_nproc,
kmp_info_t * new_worker = __kmp_allocate_thread( root, team, f );
KMP_DEBUG_ASSERT( new_worker );
team->t.t_threads[ f ] = new_worker;
new_worker->th.th_team_nproc = team->t.t_nproc;
KA_TRACE( 20, ("__kmp_allocate_team: team %d init T#%d arrived: join=%u, plain=%u\n",
team->t.t_id, __kmp_gtid_from_tid( f, team ), team->t.t_id, f,