Browse Source

ldso: remove duplicated assignment with TLS symbol

The tpnt field is already set, so not needed to assign it again.

Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Carmelo Amoroso 12 years ago
parent
commit
b8bf046266
1 changed files with 0 additions and 1 deletions
  1. 0 1
      ldso/ldso/dl-hash.c

+ 0 - 1
ldso/ldso/dl-hash.c

@@ -355,7 +355,6 @@ char *_dl_find_hash(const char *name, struct r_scope_elem *scope, struct elf_res
 #if defined(USE_TLS) && USE_TLS
 		if (ELF_ST_TYPE(sym->st_info) == STT_TLS) {
 			_dl_assert(sym_ref != NULL);
-			sym_ref->tpnt = tpnt;
 			return (char *)sym->st_value;
 		}
 #endif