summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2015-09-02 20:28:50 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2015-09-02 20:28:50 +0000
commitcb549f836acec9e3ac0336a7ff114edac3f6d085 (patch)
tree4f41f1d41857bfdc0b8713bb8f7bbc6afbadca75 /openmp/runtime/src
parent0df0391fb64049ed6548ea84bee794b47c59a2e7 (diff)
downloadbcm5719-llvm-cb549f836acec9e3ac0336a7ff114edac3f6d085.tar.gz
bcm5719-llvm-cb549f836acec9e3ac0336a7ff114edac3f6d085.zip
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
Diffstat (limited to 'openmp/runtime/src')
-rw-r--r--openmp/runtime/src/kmp_runtime.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/openmp/runtime/src/kmp_runtime.c b/openmp/runtime/src/kmp_runtime.c
index 6790a81144e..0a0b6990a5b 100644
--- a/openmp/runtime/src/kmp_runtime.c
+++ b/openmp/runtime/src/kmp_runtime.c
@@ -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,
OpenPOWER on IntegriCloud