Redundant hash table check

* elf64-ppc.c (ppc64_elf_init_stub_bfd): Remove redundant NULL check.
This commit is contained in:
Alan Modra 2016-05-09 17:08:35 +09:30
parent cc969da947
commit ae1bb19726
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2016-05-09 Alan Modra <amodra@gmail.com>
* elf64-ppc.c (ppc64_elf_init_stub_bfd): Remove redundant NULL check.
2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
PR ld/17550

View File

@ -4430,8 +4430,6 @@ ppc64_elf_init_stub_bfd (struct bfd_link_info *info,
linker created stub bfd. This ensures that the GOT header is at
the start of the output TOC section. */
htab = ppc_hash_table (info);
if (htab == NULL)
return FALSE;
htab->elf.dynobj = params->stub_bfd;
htab->params = params;