From nobody Thu Apr 17 21:59:13 2025 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 4ZdsHP5wWpz5sr1m; Thu, 17 Apr 2025 21:59:13 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZdsHP3fg4z3TxB; Thu, 17 Apr 2025 21:59:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1744927153; 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=lceggn4kcjUNz5MQKUuBsB4DSfgERQJz71PyX1h6eOg=; b=Bjg73bBNLtJ/WMYYfSI1hW+fqVqCAdkmnDr61+ChURREG/iKGPDdhhT1u/ykS2C5mvvnsQ RzTrhoKCRGzpdAZW2WsFy3o3zv+CmNiUxDTiEIhG6ZtbtO+B4LnqC/6UZMyL+DQjiYhCVf Tdzvtq9C6VahseCxa/3wkIxLreClx8LL57gkJa8kj2Foq2kB7bjea+7lhaddh5bb7EYxB0 ahmtK9XpRLipFN6QeLoWcYrp11jaVXcswx+nwqzYoFV1/T+9psojlF+BeMdyrXEvKffazO mfk9F7o3EeYJT9yoQsx471QhBC8w8nEA18XS/iOvD1hsazMV1n+ymycSGDLpXA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1744927153; a=rsa-sha256; cv=none; b=U0m1rPREjCUvwlwcvIQov8VJ4RmVr+d5n08IivqNSqz9hBkGgVsHXg90HXAzgUtK4II0NH lHt/+iw2FMw4EkosS+ZOcOcuqxbJtIntVmJWWapgINNTjU1VXYYLn123d+p3ZH1j97ePBF 7yu8TvLZJHaXnqphMJSCJHFrTjYbrP6gUdy892u6C7HQYqFzeNSyklYeXzWOaxo8l1l6id 29E1JgmIH3/t7gm+9Zc2EerxhGQ9IGza4ujd9Kvc95TgAOD6diuW9o+lU7oy2jUSk3b8bM eiQVkql2ju2N0w5sqpAOIBEOxltX7wUKk+NwWSMExp+UkI4Ne1rYoKPRIsbxDg== 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=1744927153; 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=lceggn4kcjUNz5MQKUuBsB4DSfgERQJz71PyX1h6eOg=; b=Qyr3pW6HgO+fjvdRIonJ2FdnQJMDT7/SP9T+h7b0mRPb2YYnR7BQ5h7es2yXmTAqafEb9S zEr8o8HKFKZUBcc4ke/rzDwEDUICoOpeeRV9HRphTJjAgjj1CAM9VIybkafI326tnsh8q1 YXPwNrNKrjfQAd5hP6OlXpBwU7J+ahDGbfydZ7TBHKYK55gCka2eQlL4ob5W+0ZbjUXtNp sczan/hkBQiJlpVhr9wrSRAT/R0OXV/312SH+Ac0nFRr6fNUtizjApEs9AzaK55On1uNry A6jRPviIP9q19lSCdnW8BhTDWIv0gssRN3Jsd0MC/f4OSJyCa4B12ZpJfWIh+w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4ZdsHP30Hxz15SB; Thu, 17 Apr 2025 21:59:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 53HLxDve002627; Thu, 17 Apr 2025 21:59:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 53HLxDMg002624; Thu, 17 Apr 2025 21:59:13 GMT (envelope-from git) Date: Thu, 17 Apr 2025 21:59:13 GMT Message-Id: <202504172159.53HLxDMg002624@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: d27413a7d775 - main - loader: Remove unneeded includes 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d27413a7d7751083d763a73442d416a2dc05c3d5 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=d27413a7d7751083d763a73442d416a2dc05c3d5 commit d27413a7d7751083d763a73442d416a2dc05c3d5 Author: Warner Losh AuthorDate: 2025-04-17 04:03:56 +0000 Commit: Warner Losh CommitDate: 2025-04-17 21:56:45 +0000 loader: Remove unneeded includes We've not needed to include link.h in the loader for a long time. I shoud have removed it in f38658e1408c rather than going link.h -> sys/sys_link.h. It's purely a userland shared library thing. Remove it now, since it's not needed. Also remove a few headers that are redundant with stand.h in this environment. Sponsored by: Netflix Reviewed by: kevans, andrew, jhibbits Differential Revision: https://reviews.freebsd.org/D49859 --- stand/common/load_elf.c | 3 --- stand/common/load_elf_obj.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/stand/common/load_elf.c b/stand/common/load_elf.c index e19aefa121e7..537692e7d745 100644 --- a/stand/common/load_elf.c +++ b/stand/common/load_elf.c @@ -30,11 +30,8 @@ #include #include #include -#include -#include #include #include -#include #include "bootstrap.h" #include "modinfo.h" diff --git a/stand/common/load_elf_obj.c b/stand/common/load_elf_obj.c index 1e07828dd8ac..c20da80eb602 100644 --- a/stand/common/load_elf_obj.c +++ b/stand/common/load_elf_obj.c @@ -30,11 +30,8 @@ #include #include #include -#include -#include #include #include -#include #include "bootstrap.h" #include "modinfo.h"