From nobody Fri May 06 23:25:19 2022 X-Original-To: dev-commits-src-main@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 7CC301AD13B9; Fri, 6 May 2022 23:25:20 +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 4Kw69q3SVlz3FZ4; Fri, 6 May 2022 23:25:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651879519; 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=GSqtpuNinpqbbIbuw0K2ea0OkbqpQvujkH3cMf5jE7E=; b=d1N3FwlgCb/GmkSaBoagKirqQdUtkiQRgVfA9xJtXqf3snpZ2+CD/VuYStnAdwkC59TWF/ vqwdO6NcNjvzfnTiLeDPvX05wPJ5dBElucfQewGUnl4atY6uOX1SxSISH058q+Bj7cU0zm BhU50tXzKnk1Uy7eGcSCd5mWNOkNu5+6evXbOCKxVrtXyJrfzZNQEdAyapG+PR9hYuoVwU 5LB702yTKCZUfswMB+CR9XIlNIXS5pKCwCBsL0iPSC5hVK4FvM3RaEyhR/eShd2x7WGl9E Ov6n6ItduJcoOy6elvpIQVNiedqUBcbD4SjDgeuPKUgz842lD+eeJMdMN4h3Vw== 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 56C6C24FF2; Fri, 6 May 2022 23:25:19 +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 246NPJTt075719; Fri, 6 May 2022 23:25:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246NPJA2075718; Fri, 6 May 2022 23:25:19 GMT (envelope-from git) Date: Fri, 6 May 2022 23:25:19 GMT Message-Id: <202205062325.246NPJA2075718@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: ab050b2b8f1d - main - crypto: Remove unused devclass arguments to DRIVER_MODULE. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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: ab050b2b8f1ddabe76f6642ab81d3d00b9976c07 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651879519; 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=GSqtpuNinpqbbIbuw0K2ea0OkbqpQvujkH3cMf5jE7E=; b=ms+mxfusz5cwVvt+9KHMFrotCG2eLWE9fp20p0qfwJMDhZ9/HeJIKGE+gvGSwRvDVPF8nH Svz29rvmmk/YwqyfT/BtXQOAQqnSoJrQqlWU0KQVC1UVqjZlEdby5epQgTW7cBE02Nq2X7 N5LOWCNRaRRRoCn9gsIkRvWbNgdVU11q5CpcC2Nlx6HlzAfJykPNpy6EqF91pyksS/n/0K YhB97CcZhgVMoPXSpi/gl3Wgj8/xez66fvmrEleHGw9ev/Qdx+s2PDO/2UBcKNmJgNkt7Y apGYZDuRM5B7mIUj3HAJW/9FiqgiugQaegNKzd6DXOwX/+fl4th3KJYrnQntiw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651879519; a=rsa-sha256; cv=none; b=Uv+eR7DVz7b4+dknlRERnsnAX719MzGJHIGslr4nOFMH9y5g+guJdDlEWtwZZJGWK9aLzN d56FtMaphNTlxVp7RicIA171mC7q/s7rv1xPqbtJUbljwkJ8BtYey5lXDoP8beQaMnp2Sx g+qwuDLkLyUtbWC3PbTOb8g9bSsCjmJnIhNpVZsNx4CU+u9v8+Rs5kR6vojM6MZAyZGzkH xomefwaOIIcf8F22JjMfOoa7iPetH6rwnDM4paykXpIIvKhwhCMc2/Ula2xtH+913A8O3P IjrzJmH/rlR0gvsfwe+6Q/pJpK2+lrVGZI3LxsOqe+ksF8+QB0mJP8S8eObqCg== 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=ab050b2b8f1ddabe76f6642ab81d3d00b9976c07 commit ab050b2b8f1ddabe76f6642ab81d3d00b9976c07 Author: John Baldwin AuthorDate: 2022-05-06 22:46:58 +0000 Commit: John Baldwin CommitDate: 2022-05-06 22:46:58 +0000 crypto: Remove unused devclass arguments to DRIVER_MODULE. --- sys/crypto/aesni/aesni.c | 3 +-- sys/crypto/armv8/armv8_crypto.c | 4 +--- sys/crypto/blake2/blake2_cryptodev.c | 3 +-- sys/crypto/ccp/ccp.c | 3 +-- sys/crypto/openssl/ossl.c | 4 +--- sys/crypto/via/padlock.c | 3 +-- sys/opencrypto/cryptosoft.c | 3 +-- 7 files changed, 7 insertions(+), 16 deletions(-) diff --git a/sys/crypto/aesni/aesni.c b/sys/crypto/aesni/aesni.c index a69488971cac..aa7a5702713a 100644 --- a/sys/crypto/aesni/aesni.c +++ b/sys/crypto/aesni/aesni.c @@ -416,9 +416,8 @@ static driver_t aesni_driver = { aesni_methods, sizeof(struct aesni_softc), }; -static devclass_t aesni_devclass; -DRIVER_MODULE(aesni, nexus, aesni_driver, aesni_devclass, 0, 0); +DRIVER_MODULE(aesni, nexus, aesni_driver, 0, 0); MODULE_VERSION(aesni, 1); MODULE_DEPEND(aesni, crypto, 1, 1, 1); diff --git a/sys/crypto/armv8/armv8_crypto.c b/sys/crypto/armv8/armv8_crypto.c index 18b0870f380b..7c365c6a6901 100644 --- a/sys/crypto/armv8/armv8_crypto.c +++ b/sys/crypto/armv8/armv8_crypto.c @@ -502,7 +502,5 @@ static device_method_t armv8_crypto_methods[] = { static DEFINE_CLASS_0(armv8crypto, armv8_crypto_driver, armv8_crypto_methods, sizeof(struct armv8_crypto_softc)); -static devclass_t armv8_crypto_devclass; -DRIVER_MODULE(armv8crypto, nexus, armv8_crypto_driver, armv8_crypto_devclass, - 0, 0); +DRIVER_MODULE(armv8crypto, nexus, armv8_crypto_driver, 0, 0); diff --git a/sys/crypto/blake2/blake2_cryptodev.c b/sys/crypto/blake2/blake2_cryptodev.c index 50828b0334d6..ebc3c2fcec96 100644 --- a/sys/crypto/blake2/blake2_cryptodev.c +++ b/sys/crypto/blake2/blake2_cryptodev.c @@ -253,9 +253,8 @@ static driver_t blake2_driver = { blake2_methods, sizeof(struct blake2_softc), }; -static devclass_t blake2_devclass; -DRIVER_MODULE(blake2, nexus, blake2_driver, blake2_devclass, 0, 0); +DRIVER_MODULE(blake2, nexus, blake2_driver, 0, 0); MODULE_VERSION(blake2, 1); MODULE_DEPEND(blake2, crypto, 1, 1, 1); diff --git a/sys/crypto/ccp/ccp.c b/sys/crypto/ccp/ccp.c index b41b86f111cb..3f2b89545e8f 100644 --- a/sys/crypto/ccp/ccp.c +++ b/sys/crypto/ccp/ccp.c @@ -636,8 +636,7 @@ static driver_t ccp_driver = { sizeof(struct ccp_softc) }; -static devclass_t ccp_devclass; -DRIVER_MODULE(ccp, pci, ccp_driver, ccp_devclass, NULL, NULL); +DRIVER_MODULE(ccp, pci, ccp_driver, NULL, NULL); MODULE_VERSION(ccp, 1); MODULE_DEPEND(ccp, crypto, 1, 1, 1); MODULE_DEPEND(ccp, random_device, 1, 1, 1); diff --git a/sys/crypto/openssl/ossl.c b/sys/crypto/openssl/ossl.c index f41ff09c371d..62af8f713d9f 100644 --- a/sys/crypto/openssl/ossl.c +++ b/sys/crypto/openssl/ossl.c @@ -437,8 +437,6 @@ static driver_t ossl_driver = { sizeof(struct ossl_softc) }; -static devclass_t ossl_devclass; - -DRIVER_MODULE(ossl, nexus, ossl_driver, ossl_devclass, NULL, NULL); +DRIVER_MODULE(ossl, nexus, ossl_driver, NULL, NULL); MODULE_VERSION(ossl, 1); MODULE_DEPEND(ossl, crypto, 1, 1, 1); diff --git a/sys/crypto/via/padlock.c b/sys/crypto/via/padlock.c index c0435695b004..056c653eb24f 100644 --- a/sys/crypto/via/padlock.c +++ b/sys/crypto/via/padlock.c @@ -297,9 +297,8 @@ static driver_t padlock_driver = { padlock_methods, sizeof(struct padlock_softc), }; -static devclass_t padlock_devclass; /* XXX where to attach */ -DRIVER_MODULE(padlock, nexus, padlock_driver, padlock_devclass, 0, 0); +DRIVER_MODULE(padlock, nexus, padlock_driver, 0, 0); MODULE_VERSION(padlock, 1); MODULE_DEPEND(padlock, crypto, 1, 1, 1); diff --git a/sys/opencrypto/cryptosoft.c b/sys/opencrypto/cryptosoft.c index 2aa7aecef146..0eb5bc420886 100644 --- a/sys/opencrypto/cryptosoft.c +++ b/sys/opencrypto/cryptosoft.c @@ -1742,7 +1742,6 @@ static driver_t swcr_driver = { swcr_methods, 0, /* NB: no softc */ }; -static devclass_t swcr_devclass; /* * NB: We explicitly reference the crypto module so we @@ -1753,6 +1752,6 @@ static devclass_t swcr_devclass; */ extern int crypto_modevent(struct module *, int, void *); /* XXX where to attach */ -DRIVER_MODULE(cryptosoft, nexus, swcr_driver, swcr_devclass, crypto_modevent,0); +DRIVER_MODULE(cryptosoft, nexus, swcr_driver, crypto_modevent, NULL); MODULE_VERSION(cryptosoft, 1); MODULE_DEPEND(cryptosoft, crypto, 1, 1, 1);