From nobody Mon Nov 27 05:25:16 2023 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 4SdvDY0hjbz51hYZ; Mon, 27 Nov 2023 05:25:17 +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 4SdvDX74W1z4XxR; Mon, 27 Nov 2023 05:25:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701062717; 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=tH4oKEIFCd7bHXrIv8KxN+MJ3zDl7PW4jULG2WLkZsE=; b=Ucr3Ym7/JcPgXBu77NK+kDEQTr8yaLBgu8gvwN0Fa3SYY0OPNuC0DwtEaikd9SUbbe2KmS noTfej1Ld3G5VPOAGSw4xW1WOasc7KH9W9fqV+xkIKuAkyhLYBuD5IDIQT4IwSHtPYd48u RvyHiIIEklVfzsOvnwJEmuRvMz1WG2A1tRtCYrrPDn1cqPgZdpmBAB1kmm9+vZX4fZfYRb gXiGyM1x8nrPjwVn2kqv4gDvwj4OZr2VkQvsiAhRSOjN0l8tioTgjJTyC6t65Q3jOwHQx9 alrdBiY43wgvUYnAlgeM7bk4leB6uN8ooUVqrs2jY5i46BB9WTdLyu1Lis++QQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701062717; 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=tH4oKEIFCd7bHXrIv8KxN+MJ3zDl7PW4jULG2WLkZsE=; b=lV3Kus/n0iA/kkrJxpsYHe6UQXwPziDnD1ZbJfhFscjwRKQp0AYDhe4mnzD36kCkv73+xY nFQbq5rh8W0jGnqa9dnwWnOb6OCH3tuJfA5lvfmPO6XZ9EPP2D8Mfz9er4i/G1NqxlS+tL bebq5Z6Jiee1RtXiEDlBt+2lC7o0YzPvhO6dnq/43wnDh7p4PQ8ckHzvwNadJeUm2cBSzO H6U3oZO/cQzHPQtlU94Zu07iY2lOpbWhf8sae0lANNSc8139dzgb/EDt/fo7d4fZGpZEKV rhBleEKqADFKorV/dlB7YjkoJa58l6RK9VeLvl/R2PoJ4VqHE9vLCvchS8IMhg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701062717; a=rsa-sha256; cv=none; b=QDMLKrzRIefJW77jOhC7M3W+RonGIEDwHxHjIgl8iA0s9rb/LDyHUJc+a3AwtZLBW2MMim 15ZoAFNEW+wvae8oZGjt23VuS0ESfpFMjFe2/UdShOhIkIupUgZqGICqWAWaIlntUHiSaL H7q9TFBqFwDXzgVMqcDCe7rX7K84FeFyW79mAx8xVHcm/okyQKzzkYre7VjWWjY/iGhsCI 2vFB5EykRjpQrXD1d67SDcnU2I9QUIABv14GbGQM4TrKIdKLo01aZ6LOJfqdH4alDf7rUT 983CAA0E6OrXap6k+JaDXJ3Ig3FCOW5nf7iusxjAS1Imme72oIK6a6E2r6TKNQ== 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 4SdvDX5VBzzBB1; Mon, 27 Nov 2023 05:25:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3AR5PGPt067240; Mon, 27 Nov 2023 05:25:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AR5PGxq067237; Mon, 27 Nov 2023 05:25:16 GMT (envelope-from git) Date: Mon, 27 Nov 2023 05:25:16 GMT Message-Id: <202311270525.3AR5PGxq067237@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: a83d4fe9cbc5 - main - cdefs: Remove some builtin defines, they are unused 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: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a83d4fe9cbc51adcefb8a1070374186f3399fef4 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=a83d4fe9cbc51adcefb8a1070374186f3399fef4 commit a83d4fe9cbc51adcefb8a1070374186f3399fef4 Author: Warner Losh AuthorDate: 2023-11-20 22:40:55 +0000 Commit: Warner Losh CommitDate: 2023-11-27 05:24:02 +0000 cdefs: Remove some builtin defines, they are unused Remove __GNUCLIKE_BUILTIN_NEXT_ARG, __GNUCLIKE_MATH_BUILTIN_RELOPS, __GNUCLIKE_BUILTIN_MEMCPY: they are unused. Also remove them from the generated cryptodevh.py script. PR: 275221 (exp-run) Sponsored by: Netflix --- sys/sys/cdefs.h | 5 ----- tests/sys/opencrypto/cryptodevh.py | 2 -- 2 files changed, 7 deletions(-) diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h index f93a70245e5e..5782735187c5 100644 --- a/sys/sys/cdefs.h +++ b/sys/sys/cdefs.h @@ -79,11 +79,6 @@ */ #define __compiler_membar() __asm __volatile(" " : : : "memory") -#define __GNUCLIKE_BUILTIN_NEXT_ARG 1 -#define __GNUCLIKE_MATH_BUILTIN_RELOPS - -#define __GNUCLIKE_BUILTIN_MEMCPY 1 - /* XXX: if __GNUC__ >= 2: not tested everywhere originally, where replaced */ #define __CC_SUPPORTS_INLINE 1 #define __CC_SUPPORTS___INLINE 1 diff --git a/tests/sys/opencrypto/cryptodevh.py b/tests/sys/opencrypto/cryptodevh.py index 79af275ce340..d6982c26f1cf 100644 --- a/tests/sys/opencrypto/cryptodevh.py +++ b/tests/sys/opencrypto/cryptodevh.py @@ -23,8 +23,6 @@ def __has_include(x): return 0 def __has_builtin(x): return 0 -__GNUCLIKE_BUILTIN_NEXT_ARG = 1 -__GNUCLIKE_BUILTIN_MEMCPY = 1 __CC_SUPPORTS_INLINE = 1 __CC_SUPPORTS___INLINE = 1 __CC_SUPPORTS___INLINE__ = 1