Browse Source

delete a redundant if in dynamic linker ctor execution loop

Ray 6 years ago
parent
commit
086a12b920
1 changed files with 0 additions and 1 deletions
  1. 0 1
      ldso/dynlink.c

+ 0 - 1
ldso/dynlink.c

@@ -1461,7 +1461,6 @@ static void do_init_fini(struct dso **queue)
 			pthread_cond_wait(&ctor_cond, &init_fini_lock);
 		if (p->ctor_visitor || p->constructed)
 			continue;
-		if (p->constructed) continue;
 		p->ctor_visitor = self;
 		
 		decode_vec(p->dynv, dyn, DYN_CNT);