Redundant hash table check

Alan Modra amodra@gmail.com
Mon May 9 07:57:00 GMT 2016


	* elf64-ppc.c (ppc64_elf_init_stub_bfd): Remove redundant NULL check.

diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c
index a9f66d6..3717160 100644
--- a/bfd/elf64-ppc.c
+++ b/bfd/elf64-ppc.c
@@ -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;
 

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list