From: Carmelo Amoroso Date: Thu, 15 Mar 2012 10:51:38 +0000 (+0100) Subject: ldso: remove duplicated assignment with TLS symbol X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=b8bf046266f6a76001309fee1fee66e160512722;p=uclinux-h8%2Fuclibc-ng.git 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 --- diff --git a/ldso/ldso/dl-hash.c b/ldso/ldso/dl-hash.c index 9b671564f..36ebec684 100644 --- a/ldso/ldso/dl-hash.c +++ b/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