Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/ld.elf_so Remove redundant assignment. Hasn't been n...



details:   https://anonhg.NetBSD.org/src/rev/8bf317c0f829
branches:  trunk
changeset: 786771:8bf317c0f829
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu May 09 15:47:34 2013 +0000

description:
Remove redundant assignment. Hasn't been needed since 1999.

diffstat:

 libexec/ld.elf_so/rtld.c |  11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)

diffs (32 lines):

diff -r 926d8ca011e8 -r 8bf317c0f829 libexec/ld.elf_so/rtld.c
--- a/libexec/ld.elf_so/rtld.c  Thu May 09 15:39:10 2013 +0000
+++ b/libexec/ld.elf_so/rtld.c  Thu May 09 15:47:34 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rtld.c,v 1.168 2013/05/09 15:39:10 christos Exp $       */
+/*     $NetBSD: rtld.c,v 1.169 2013/05/09 15:47:34 skrll Exp $  */
 
 /*
  * Copyright 1996 John D. Polstra.
@@ -40,7 +40,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: rtld.c,v 1.168 2013/05/09 15:39:10 christos Exp $");
+__RCSID("$NetBSD: rtld.c,v 1.169 2013/05/09 15:47:34 skrll Exp $");
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -352,12 +352,7 @@
            RTLD_DEFAULT_LIBRARY_PATH "/" RTLD_ARCH_SUBDIR);
 #endif
 
-       /*
-        * Set up the _rtld_objlist pointer, so that rtld symbols can be found.
-        */
-       _rtld_objlist = &_rtld_objself;
-
-       /* Make the object list empty again. */
+       /* Make the object list empty. */
        _rtld_objlist = NULL;
        _rtld_objtail = &_rtld_objlist;
        _rtld_objcount = 0;



Home | Main Index | Thread Index | Old Index