summary refs log tree commit diff
path: root/elf/dl-close.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dl-close.c')
-rw-r--r--elf/dl-close.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/elf/dl-close.c b/elf/dl-close.c
index 5b54e9f2f6..286d67c224 100644
--- a/elf/dl-close.c
+++ b/elf/dl-close.c
@@ -421,13 +421,6 @@ _dl_close_worker (struct link_map *map)
 
 	      imap->l_scope_max = new_size;
 	    }
-	  else if (new_list != NULL)
-	    {
-	      /* We didn't change the scope array, so reset the search
-		 list.  */
-	      imap->l_searchlist.r_list = NULL;
-	      imap->l_searchlist.r_nlist = 0;
-	    }
 
 	  /* The loader is gone, so mark the object as not having one.
 	     Note: l_idx != IDX_STILL_USED -> object will be removed.  */