Merge "linker: cleanup of undefined state handling, which is really dead code"
diff --git a/linker/linker.c b/linker/linker.c
index 4bf5dc9..2a7ccd5 100644
--- a/linker/linker.c
+++ b/linker/linker.c
@@ -462,7 +462,7 @@
             DEBUG("%5d %s: looking up %s in %s\n",
                   pid, si->name, name, lsi->name);
             s = soinfo_elf_lookup(lsi, elf_hash, name);
-            if ((s != NULL) && (s->st_shndx != SHN_UNDEF))
+            if (s != NULL)
                 goto done;
         }
     }