From nobody Fri Jul 31 17:57:34 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4hBYgm71mSz6nFYv for ; Fri, 31 Jul 2026 17:57:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hBYgm0Ctfz46DT for ; Fri, 31 Jul 2026 17:57:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1785520660; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AzeXOXurhUzja1J+RzSDkIjMqXD4d0RgJBoRNVbAVyU=; b=oFLZ24lqO0ieMIIW9xChE6psr/9Go6e1xwBNpNhdd+q7pf4+rjpYww/7IT4pM6jP916FmH iRVnrmxhr6xbmwYqmeWBV68caEw4/xujQciQwbuc50VzBYB2Ypu8JnpOITgP5gco5xQomc 9B0UX0iAWxJayIymqoBO41lM/W4pOzslLspOzlXBLHLPCIab9UUNW18Ui1EIpAXrqq9XRu OX5A51qKO2NwN4bZUMsxwzdkbARlwG1NwWux/WhLS0mBQ4S1ODV+MHRlcCiUPT+ffg1/P7 kKymjls6iRt9JPNTpdW+FBc2T96hKZiuSvKTB3VF5rAkilNqC5AEvkcU2QmaEw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1785520660; a=rsa-sha256; cv=none; b=K87Wl3sAauH9AFYN8WW4dLsAZ77rftEynA0l0l9pMUp4a40NXu3FKXDYNVoFaUuxInwUPI M81hXRLq7Fn4LHf1WVdcouO/H3FIl4HAAWn/I4IECzx4v1MF+JaNz+Q99VKn62PapenYlj aIpXEIuHhIG8sQRQBS3VIEjt9Av4OXwF9251w7wOTbHK7CTNDZ2RCdVxfbAqwQ66rck1n8 wlA1MjdCp/nZQ79Pj6gvwq9yjEA/DnBXQwXcLTuPUXM7cF+9dX1nnbAV1UlVWEBEzgc3e8 ttVUVnxc64wcSf3+au5vgXfqzWvNvHcM3gHFaE4KFluU9+JEjgDZsJdPStiqig== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1785520660; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AzeXOXurhUzja1J+RzSDkIjMqXD4d0RgJBoRNVbAVyU=; b=p/G4aaLNrNCQfho2BjzdyRkkahnyyOFVDjfu8NKUAdCqzJPwwAREYtQRwOS4IMmhOHpLtw Sci/gG277mJbBbimejk9nynVQ+Kp5Gp7B866bGv/wxVaA8gqn73kBQ53Ix0chS0kiqdE4/ XEw5NqaNez72NM0jmPMjTU6orTJYYyvRjtoig+vnevsrsL8JE1i4Ev4Yzb89a0FUHsZpT2 hCACJRE0RpCiU4xBr8f1EHGfs5dvAPEPX6FkZEohXoVkY3lu33UIXzf6+hfvqkGnM3X/Sl FLpEZnMh2xxugkYPrTC2y3DoLRRXP7dLNUkuq3JH3iR6VJ7CR4+tXIbZNC+Q2g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hBYgl5jlLz18Yw for ; Fri, 31 Jul 2026 17:57:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3f382 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 31 Jul 2026 17:57:34 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 8aec309852b5 - main - stand: Remove a pointless goto List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8aec309852b5285cfa03424f7776a0bf432dff7a Auto-Submitted: auto-generated Date: Fri, 31 Jul 2026 17:57:34 +0000 Message-Id: <6a6ce20e.3f382.1f114d7@gitrepo.freebsd.org> The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=8aec309852b5285cfa03424f7776a0bf432dff7a commit 8aec309852b5285cfa03424f7776a0bf432dff7a Author: John Baldwin AuthorDate: 2026-07-31 17:50:33 +0000 Commit: John Baldwin CommitDate: 2026-07-31 17:50:33 +0000 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 --- stand/common/load_elf.c | 3 --- 1 file changed, 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);