From nobody Mon May 09 21:47:27 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 CD3561AC8BD3; Mon, 9 May 2022 21:47: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 4KxvsW4MT3z3GQg; Mon, 9 May 2022 21:47:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652132847; 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=lrAn4exefM1u3vODGpiy2p1AdpfJ+LDuHAVp7R+S1ck=; b=lVjbe8zuiVPOOKm+OfWQPelVB3XcPHozjKAt+RfW7WU6UyPMiwj3TyZ8/WirpKugjEVIoR F6+GgLPGkAm9XeAB0oaJAVL75vrgJibODFfTkSiGpGyehNyUJKngCS/dpDeUjnD6lwohrU c9SASiirKUZxGBnXUs4azFgCSwUyWXEYHKiaoATqsxtZ3dZYLdBqQWyM1+Bit4EuTlq4GC m1uPp4PIGnx6j6axWyjvnM/k52Y/XemUNInhLdMNowGpwGsNPhRUM3EOfJ3PsoRHTNEo6v kuOnOYMD6+BRWWz7kUGW28g/GlG8yvx3yZs3usrshg0CsVQdx4ifDxbuCE4oUQ== 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 5B49718BEE; Mon, 9 May 2022 21:47:27 +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 249LlR35079667; Mon, 9 May 2022 21:47:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249LlRG5079666; Mon, 9 May 2022 21:47:27 GMT (envelope-from git) Date: Mon, 9 May 2022 21:47:27 GMT Message-Id: <202205092147.249LlRG5079666@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: 36139be78590 - main - ce: Remove unused devclass arguments 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: 36139be785904be090efad48ff53eefccd270953 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652132847; 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=lrAn4exefM1u3vODGpiy2p1AdpfJ+LDuHAVp7R+S1ck=; b=jiTNxoUQf/1V3s8TpyoBNbH548a/6D/52N+I8oFScfjVkRAcRe4N82tvOxDeRp4JFPnpls +Tz94Th4zmY2x4kIecg4JwzvmzxNm5OtMUxQzhzNnuhuBxxSKiOrz5ByMx8sWREh2nfUE8 ZUxtbj468P2vl1YFFub3Ke6BVPArHkPnp+9rr2evRMFAOvuZQoEIZFT9Iwo5iksVt5rUOd uVv4S0j4n34P/vA7glSYoud/YE6OUSwotobcINPB6jLKzdH3SqwFZunibZ8CubTz0tvLJj ieDYbEec7f6amv3eG3C/BTd6Zq9GlJXyOk88BqC7CM7tdZukOyMPBIjTLFmSow== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652132847; a=rsa-sha256; cv=none; b=Xnt+DfUF9bh7njkmW70+aoyMtj/lSyQ5BgcQMEbh8C9VGm5tHMdxM2tI3NJuUAlD+V8Pwe +7O0tgbF9XTBJe3mxvdrlxisY22uFQRQ1hfW15SNcP5xujccJW+QvP84QNI2VrKN3OoQ5f E9oii3zvPECyMAgZZIX0aW0wqfvvHW3/uicsUb+7ZfDEh8wmpgNUFnE+F4npi1R6uLjvIQ 6FnN6sRqnUb0XhVFO/xzndgPJ+HoZRkK7MqYRcqIsNoKLgFxQbo57V+3ubn0EUZbTVi4IH eVl5VB+hBc0AmAijn+WDdZ0YXw18xJY55XRxLhNpH900V1FMlj1bWCM55rtwVA== 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=36139be785904be090efad48ff53eefccd270953 commit 36139be785904be090efad48ff53eefccd270953 Author: John Baldwin AuthorDate: 2022-05-09 21:26:43 +0000 Commit: John Baldwin CommitDate: 2022-05-09 21:26:43 +0000 ce: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/ce/if_ce.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/dev/ce/if_ce.c b/sys/dev/ce/if_ce.c index 4bd0070f8a56..2a92578011d0 100644 --- a/sys/dev/ce/if_ce.c +++ b/sys/dev/ce/if_ce.c @@ -127,8 +127,6 @@ static driver_t ce_driver = { sizeof(bdrv_t), }; -static devclass_t ce_devclass; - static void ce_receive (ce_chan_t *c, unsigned char *data, int len); static void ce_transmit (ce_chan_t *c, void *attachment, int len); static void ce_error (ce_chan_t *c, int data); @@ -1808,7 +1806,7 @@ static struct ng_type typestruct = { MODULE_DEPEND (ng_ce, netgraph, NG_ABI_VERSION, NG_ABI_VERSION, NG_ABI_VERSION); #ifdef KLD_MODULE -DRIVER_MODULE (cemod, pci, ce_driver, ce_devclass, ce_modevent, NULL); +DRIVER_MODULE (cemod, pci, ce_driver, ce_modevent, NULL); #else -DRIVER_MODULE (ce, pci, ce_driver, ce_devclass, ce_modevent, NULL); +DRIVER_MODULE (ce, pci, ce_driver, ce_modevent, NULL); #endif