From 086a12b920eedc1779b83a5dfddc00460a4d6be7 Mon Sep 17 00:00:00 2001 From: Ray Date: Wed, 13 Mar 2019 10:12:17 +0000 Subject: [PATCH] delete a redundant if in dynamic linker ctor execution loop --- ldso/dynlink.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ldso/dynlink.c b/ldso/dynlink.c index 46c5b5ff..206427fe 100644 --- a/ldso/dynlink.c +++ b/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);