aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2026-07-31 17:50:33 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2026-07-31 17:50:33 +0000
commit8aec309852b5285cfa03424f7776a0bf432dff7a (patch)
tree5e58611c6d81a03d51b3ddb319c1ee6e4472c4f5
parent82e4762f42a063785e5d19abcacd7e4a4eb3e548 (diff)
stand: Remove a pointless goto
Commit 505222d35fea removed a batch of code that this goto used to skip around. Reviewed by: olce, kib, markj Fixes: 505222d35fea ("Implement the long-awaited module->file cache database. A userland tool (kldxref(8)) keeps a cache of what modules and versions are inside what .ko files. I have tested this on both Alpha and i386.") Differential Revision: https://reviews.freebsd.org/D58539
-rw-r--r--stand/common/load_elf.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/stand/common/load_elf.c b/stand/common/load_elf.c
index 1c4efb8c4156..97467094750c 100644
--- a/stand/common/load_elf.c
+++ b/stand/common/load_elf.c
@@ -921,9 +921,6 @@ nosyms:
if (__elfN(parse_modmetadata)(fp, ef, p_start, p_end) == 0)
goto out;
- if (ef->kernel) /* kernel must not depend on anything */
- goto out;
-
out:
if (dp)
free(dp);