From nobody Tue Apr 12 17:10:31 2022 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 E013D11E1FE9; Tue, 12 Apr 2022 17:10:31 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KdC0R5Cbtz4l8G; Tue, 12 Apr 2022 17:10:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649783431; 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=PzRpcW2/231zM46xv8+G+FeepDNKSGR7FfZFxaRmJRQ=; b=c4xkQyIvGVGDGZ2Kj14DsDYbg+H5uPep2txokqvVYAeX03uDPXkPpYZ6lzms3eFMhPm1iY vSK2ldhsAQOVRsFP85sBdPW3IlMEoYtR+LE1J2nCt0hcPG978JFF+VN7EzKpIrs96rsl14 GvUZt2DWkN8x6h/CB9f6uzOwY+NsiIFcWRGGuBBUEWDgzDOFka2uKIPA8UitrSyDVBw1HV yVHWgLcIVzhauXhbmWKWBQ6zO6P/vIbrhCbxNQZzdxi6rcQJCbrkpSr8uq4S+oNqWXyWx3 W6LBKutDnMBNxLOwmXum6+1aCQB0VUi7hnISBtzhBF3VxTmjsCuj7G1TEIjs4Q== 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 83F4F1B4AF; Tue, 12 Apr 2022 17:10:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23CHAV9q051582; Tue, 12 Apr 2022 17:10:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23CHAVRB051581; Tue, 12 Apr 2022 17:10:31 GMT (envelope-from git) Date: Tue, 12 Apr 2022 17:10:31 GMT Message-Id: <202204121710.23CHAVRB051581@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 1c1bf5bd7c1e - main - x86: Remove silly checks for . 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org 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: 1c1bf5bd7c1e479a7889839b941f53e689aa2569 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649783431; 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=PzRpcW2/231zM46xv8+G+FeepDNKSGR7FfZFxaRmJRQ=; b=DMtBpmsmU+8EOG65BsFGie5dMliyV46wi02IJaQeooFuA8ox4aIkWdJlGDYir/iaFuXGRU GoA0Fqw01+RcYpkY7YNMpj7ic315G01aJCeyvdSYeUknhvMoGnFJKA3eS3i8hu+v3V98Qh w8sM5ASNdpmEzKy/SVqnV7hZTbOhNEw4JvPKngeMYFxwF/4YK+rKQh7sdK2hOL968O3+hb vFucDCydN91FY6KTdFOATYtZYuuyrhxR1yeQOpkH3aa9NSolGMK0s7AYkDMR9hnBKLd5Pd hawMHbZZjripccACqn9yziWLp90Ih5umHqUdfrcww0UtCbe1+3cmDffDCETZPA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649783431; a=rsa-sha256; cv=none; b=lqiA51wuJnoQ78HFYuOsVMMbJNxASh6O+56SzDhrEfh4+Cn2aABxJebiPQqa2qesve27L6 e/h7jDhUIY8NAhKEzxejePGn4y8Z9mY5ZGDvcP/lHZpkZPvEviwtRzDA0W693sbLvYRFjG u0fS128aEsV0YPUvibEvxHw8BvIit0n+utN3j+6tTMnhjh7GDhCo7PIPa8GYba6bkJ2jbP Dw8xatnqiJAHw1gmT2UhrVrQBJk33bSutNtz0rP3hqJ3tnGxn8ujk+PSsKtQlHBHkNjbI+ /Aq3beV8dAB1iG6EP0HwGohx8LD1G72zrEBYGCMDgoZtyfrL5LvYL1D82vKAxQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=1c1bf5bd7c1e479a7889839b941f53e689aa2569 commit 1c1bf5bd7c1e479a7889839b941f53e689aa2569 Author: John Baldwin AuthorDate: 2022-04-12 17:05:39 +0000 Commit: John Baldwin CommitDate: 2022-04-12 17:05:39 +0000 x86: Remove silly checks for . These headers #include right after checking if it has already been #included. The nested #include already existed when the check for _SYS_CDEFS_H_ was added, so the check shouldn't have been added in the first place. PR: 263102 (exp-run) Reported by: brooks Reviewed by: brooks, imp, emaste Differential Revision: https://reviews.freebsd.org/D34796 --- sys/amd64/include/in_cksum.h | 4 ---- sys/i386/include/in_cksum.h | 4 ---- 2 files changed, 8 deletions(-) diff --git a/sys/amd64/include/in_cksum.h b/sys/amd64/include/in_cksum.h index 89ff1097f369..7407b4ad7104 100644 --- a/sys/amd64/include/in_cksum.h +++ b/sys/amd64/include/in_cksum.h @@ -37,10 +37,6 @@ #ifndef _MACHINE_IN_CKSUM_H_ #define _MACHINE_IN_CKSUM_H_ 1 -#ifndef _SYS_CDEFS_H_ -#error this file needs sys/cdefs.h as a prerequisite -#endif - #include #define in_cksum(m, len) in_cksum_skip(m, len, 0) diff --git a/sys/i386/include/in_cksum.h b/sys/i386/include/in_cksum.h index 4f116b8b655c..84e369cf3c81 100644 --- a/sys/i386/include/in_cksum.h +++ b/sys/i386/include/in_cksum.h @@ -37,10 +37,6 @@ #ifndef _MACHINE_IN_CKSUM_H_ #define _MACHINE_IN_CKSUM_H_ 1 -#ifndef _SYS_CDEFS_H_ -#error this file needs sys/cdefs.h as a prerequisite -#endif - #include #define in_cksum(m, len) in_cksum_skip(m, len, 0)