From nobody Fri May 13 22:54:49 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 83D781AD4912; Fri, 13 May 2022 22:54:50 +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 4L0P9Q0R0wz3njp; Fri, 13 May 2022 22:54:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652482490; 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=2sZXwazNtBowdqRWrAyKsYF26bPQs5XKyL8vyvP5oY0=; b=qCtgVguNd+fhnOeNibmw5tU9Ac3MXyu1FzFb1pFWtezRkweqYLDxmyD5acmOGwQP2yfqcS W18wR9G+HNGY7UP+PKTPMlc85NOmMdO5IqsQF6ovvSJjDhI4PjV8adG/ujatepmwmxjhU6 frocopL0siR5ozirZ2e1oLUt4ohzJSaTdpbLCn3ohKFFJb+KOIj7OjoykD0A808cGA7KZF ylZ//OUl9PZ7TazPCLSD9o9iphqmoioHp60IAFP0t9JFSVaWuD2vL8VbhBM7GwgeZTEN+t VwFBrTZSxzY1W7WBcwoxJTvnl3xcNWTi0EkZney8EX8eKNw56JoZWbC1gFGuEQ== 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 D893E386B; Fri, 13 May 2022 22:54:49 +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 24DMsnY2078290; Fri, 13 May 2022 22:54:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24DMsndc078289; Fri, 13 May 2022 22:54:49 GMT (envelope-from git) Date: Fri, 13 May 2022 22:54:49 GMT Message-Id: <202205132254.24DMsndc078289@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: 848513a77f27 - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: 848513a77f2723ddf32510de0f1a212fb9d211d6 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652482490; 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=2sZXwazNtBowdqRWrAyKsYF26bPQs5XKyL8vyvP5oY0=; b=USgI5S+/TLVOjzOgxkt14xUWCr8ptKuh0vnwh+Ho/mbjin+z1QXmQXZ5240+TZTchgQ0u9 oTHypW2s/wP9SkVcYQwYw8N1aID4f/r/megnvy+fsdJvlDE9/IYxSALPmxEkrogdyF25JW 3VtPMF1tsZkT9RpI3VajIALdBQ1Eiflt31Xi8RTXa2Fl1f6g6i82E3wVedrqHS4WI5vhFi GFvzX4MJSaHIUAIxmzzf4+WdNZFQIpma+ioax8Eiu9m6FpTYnPAzv/Sakhn7JuPo3ng1/O iMIjrCRUyAJIVRipQZrTqTn//BP4TAqA6bAumXIJkCBAlDWoiDOeLFjNGRE3ew== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652482490; a=rsa-sha256; cv=none; b=o6zxJp7lyGbGwtsjkPyfNNrCBnx58OkH8yipMHfFRL7+QhYBdFAw1DXoU92/aYZnQXviTo J2pcPhPB0RNr98cjxuvqLihNUoC/CCSOO3fu5ESJ0zt+jJUQAcGO4tuagg3cX+ouOsUngK 8E2RY9XFtKcdV1vHh7VDWBa+E6zlw1c+ULMOIfPLLP2d3auQbfUIRxdaqimAXAiQvKGXZ+ XdySflP6Mtj1qTkgn7K4YRNRarMer8Lhq0HUKAaNtIrT9hIfcbg7SKDt2s4+ls5/XW3kCt lZoFt0WGHZ9tKpAZUVDaQv7Xh3na3MZBH8ZJLHcBX8WewoF4sWPjOybPiGlgsw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=848513a77f2723ddf32510de0f1a212fb9d211d6 commit 848513a77f2723ddf32510de0f1a212fb9d211d6 Author: John Baldwin AuthorDate: 2022-04-12 17:05:39 +0000 Commit: John Baldwin CommitDate: 2022-05-13 20:12:26 +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 (cherry picked from commit 1c1bf5bd7c1e479a7889839b941f53e689aa2569) --- 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)