This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Redundant hash table check
- From: Alan Modra <amodra at gmail dot com>
- To: binutils at sourceware dot org
- Date: Mon, 9 May 2016 17:27:35 +0930
- Subject: Redundant hash table check
- Authentication-results: sourceware.org; auth=none
* 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