kernel ELF: Removed unwanted return
authorJohn Marino <draco@marino.st>
Thu, 19 May 2011 22:52:12 +0000 (00:52 +0200)
committerJohn Marino <draco@marino.st>
Thu, 19 May 2011 22:52:12 +0000 (00:52 +0200)
sys/kern/imgact_elf.c

index b805836..f8298cf 100644 (file)
@@ -1730,7 +1730,7 @@ check_PT_NOTE(struct image_params *imgp, Elf_Brandnote *checknote,
                        /* Fetch osreldata from ABI.note-tag */
                        if ((checknote->flags & BN_TRANSLATE_OSREL) != 0 &&
                            checknote->trans_osrel != NULL)
-                               return (checknote->trans_osrel(note, osrel));
+                               checknote->trans_osrel(note, osrel);
                        found = TRUE;
                        break;
                }