From nobody Mon May 09 19:23:26 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 BC8D81AC4527; Mon, 9 May 2022 19:23:27 +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 4KxrgL3pMSz3p8Z; Mon, 9 May 2022 19:23:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124206; 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=WF5zjVg60EavXm9C5RBbxmMWJfF+OB0rbR5oFw/KoXI=; b=cdRzrLg0TwGfneMTCr2WchFBHCwbTbUzRKQVydNgFU7QkjcVJwwwpfCNlnNn59M4Osw15k 7eloVe4XL31BlUbJuabqx5LOEERWZc+GTrxNW4HOeLemrZct3KuA+DdfdsLj3QhQU/oTOC 9acN17msLMbOLIR620W7UyEA1u/mv5qq6wWH0xzhCP/7fKTZCaHac0oduxF5bY99nNiJBg TWBAEbplRvgob7Q3NI39e+LQG9K05ajmBiC8mfCdzcUFs8xLdBILR5ThtwQ0ZKQqjE5jdM o74yWl+dJ1WXFHDS1Oih5vL+8h1JCYIgSj658+cgwtrTHhJyUMAG9QxVw3GRsQ== 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 5C42E16E94; Mon, 9 May 2022 19:23:26 +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 249JNQv0086173; Mon, 9 May 2022 19:23:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249JNQV0086172; Mon, 9 May 2022 19:23:26 GMT (envelope-from git) Date: Mon, 9 May 2022 19:23:26 GMT Message-Id: <202205091923.249JNQV0086172@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: a15fbf0ca52b - main - safe: Remove unused devclass argument to DRIVER_MODULE. 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: a15fbf0ca52be0e83321aeb4d9da97f7546fb8c0 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124206; 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=WF5zjVg60EavXm9C5RBbxmMWJfF+OB0rbR5oFw/KoXI=; b=q447VcMpuAQodg2n0wUZ9B4b46op/YqpDS6dmdSPBYALytO4grErSLGSwESilMwq1GlPJb ycDhNf5A6qKUAz/VAIQ+zQ4bZSmL2rbQnzgpm4WPIbQVG6FIF2PWRuChN9yjG8Dy4KyVhP KwAcgZ5+Jl/vpf6j45gHxigyFaoxDFPjIacP6aHYbcK61333B0TkvkeCD5qpPbCZ9UfB3t C7nU27jx4dm5WKAUZHwnIUYRLHcMwpS+HxS4GscDP6cYMQRN4DM1lfH4IsUSeX8v3agVqh nW0JwLbT3KUocWm2BSu/E0yJM3MTLTePa0RSBaNinLWlyQvvQlBHClrYQzc+Kw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652124206; a=rsa-sha256; cv=none; b=VfO0ryJPQG3Qhw9zEbVK73szC9l52OgvYb7beh9LrhUMiCjVz6IPM+ExU9WjvBV3QYthP0 AQIF5+Ky3FY6aCMZGkfJ2rkihtyfS7FjNnB6CRvOO2dYPbNTduPHrV2wBz9kMSmkVOK+j0 1a87ei4JIQO/9Dpsiw2caYdrGhtwMIIZbmjVKh95auEdsTKFUV3Wj8NOw1GcnWFx8idph1 R7NDQkXf1xrl6861rybPhHdaIMbYhEk/gFirAdxQpCy23LPgFV4sO3RejXtv4azsjpzZgq vD0E+XPQW0zCW76pQWob7w9JJhlxsGSmdBi8QxW1RXWGydNZE5x/jjCAdrfmBA== 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=a15fbf0ca52be0e83321aeb4d9da97f7546fb8c0 commit a15fbf0ca52be0e83321aeb4d9da97f7546fb8c0 Author: John Baldwin AuthorDate: 2022-05-09 19:22:04 +0000 Commit: John Baldwin CommitDate: 2022-05-09 19:22:04 +0000 safe: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/safe/safe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/safe/safe.c b/sys/dev/safe/safe.c index 2bebac01519e..95114e253809 100644 --- a/sys/dev/safe/safe.c +++ b/sys/dev/safe/safe.c @@ -108,14 +108,14 @@ static device_method_t safe_methods[] = { DEVMETHOD_END }; + static driver_t safe_driver = { "safe", safe_methods, sizeof (struct safe_softc) }; -static devclass_t safe_devclass; -DRIVER_MODULE(safe, pci, safe_driver, safe_devclass, 0, 0); +DRIVER_MODULE(safe, pci, safe_driver, 0, 0); MODULE_DEPEND(safe, crypto, 1, 1, 1); #ifdef SAFE_RNDTEST MODULE_DEPEND(safe, rndtest, 1, 1, 1);