Skip to content

Commit

Permalink
Code cleanup in __dl_iterate_phdr.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Drepper committed May 3, 2010
1 parent ab00f4e commit c739ec3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2010-05-03 Ulrich Drepper <drepper@redhat.com>

* elf/dl-iteratephdr.c (__dl_iterate_phdr): Remove unnecessary
assignment.

2010-05-02 Ulrich Drepper <drepper@redhat.com>

* misc/mntent_r.c (encode_name): The slow loop handles newlines so we
Expand Down
3 changes: 1 addition & 2 deletions elf/dl-iteratephdr.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Get loaded objects program headers.
Copyright (C) 2001-2004, 2006-2008, 2009 Free Software Foundation, Inc.
Copyright (C) 2001-2004, 2006-2009, 2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Jakub Jelinek <jakub@redhat.com>, 2001.
Expand Down Expand Up @@ -68,7 +68,6 @@ __dl_iterate_phdr (int (*callback) (struct dl_phdr_info *info,
info.dlpi_phnum = l->l_phnum;
info.dlpi_adds = GL(dl_load_adds);
info.dlpi_subs = GL(dl_load_adds) - nloaded;
info.dlpi_tls_modid = 0;
info.dlpi_tls_data = NULL;
info.dlpi_tls_modid = l->l_tls_modid;
if (info.dlpi_tls_modid != 0)
Expand Down

0 comments on commit c739ec3

Please sign in to comment.