Explorar o código

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 %!s(int64=12) %!d(string=hai) anos
pai
achega
b8bf046266
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  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