From nobody Mon May 09 19:22:43 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 03A8D1AC0E71; Mon, 9 May 2022 19:22:45 +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 4KxrfX2ClGz3nng; Mon, 9 May 2022 19:22:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124164; 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=9WlG/IwQvCrHpUroi0Tum3flkHPeyh520OkTRcLwb/8=; b=pQ0ZF/Dtqj73zDnemDSMoi5x1eFx2ZPW0+HL3/i2b6MLVlaaRExUIRMsX65k81g9ekJeSc s+VW3gJ+QD2JM+z8gQt0GLfT+ziv35XxO2LKHGSP+KBL6EaLq1xPC9k/nrR64FsgtjMvAX Rrh1QX2DnUVCHRgMgDkZfgZZeVpKZmbdS8L8gURerJ4QzALFgcoNyDpPuz72uE56rrVDCb fC5vA+KKk5WkRKbx995+jvNRCBTuqe+3ORiwzDRWESqHNxzzbeSEYCTyPdWZxgZKm95zfY a2EVcgQPlVezeGKOCUEBEMMKaO3e9fupF1p1B43R8/o/sW418CBsGdMxdq8snQ== 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 EF4A61701F; Mon, 9 May 2022 19:22:43 +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 249JMh1l085243; Mon, 9 May 2022 19:22:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249JMhnE085242; Mon, 9 May 2022 19:22:43 GMT (envelope-from git) Date: Mon, 9 May 2022 19:22:43 GMT Message-Id: <202205091922.249JMhnE085242@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: c54f3323e540 - main - cxgb: 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: c54f3323e5400160538f5d516aacadb8e677d8bd Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124164; 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=9WlG/IwQvCrHpUroi0Tum3flkHPeyh520OkTRcLwb/8=; b=rATvBQyo2SSlbn1/JoW/HXoglu9i93/v4OboCnvQ+xcyqZl2JYZLFVD5IsyXWWOBhuKdWH fLMAlBbEuOY27cDMPJeCg9G9HgDHT9CrTW7nwtJNlRwrgVkHc4z4GxqU5h9kbSf9TAzJ0w euxMFKKKcpLlBe9UlnjDryKyHQmU7FAPr3HUxmVztSBH5239qxP9lPjKS4XQiQz6Un24hS Jwa6r6HClclOZCXJ17zx7iZEBwO3OzfmkX3uxmy9BIY7S2pRSvP8KGQig1XRbOeil+B8Js l46sinStPOPg+/j4nBxmKQZXG2snCFFA8UG8NzViaOrVxRF64Tl77V3RBuZmrw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652124164; a=rsa-sha256; cv=none; b=C0stpo24YuFXVake0cBAzQiV09NzgZpnmsmKkIhXp0WjvEfdDolzxgDDInrcMu7cdRwKEA 2ot0ejuKn4C8clEI1UQtVmH9pDi140xPxpZr+FoFftDiMbxhjEILXzF8vNE1ed3edUvlk+ A0A03NpGUGIdYm++8a8dHODyHbuzzbjMGmlmjrcELOrEUx17AD0n9mvgTjJCiQj2+xch+1 dshP8JfSXmpw1FFtaHtCt0mcxV+h8Ynw+9ZYzKHKp6T6tmQfGRsFmrjbGcIn1hGnSYg3mt ef039Hh5zxSkoRYs0LIiC5Qixvze8fcXQNpUbB5fPUmYV77VQzEljJzMtS4O2w== 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=c54f3323e5400160538f5d516aacadb8e677d8bd commit c54f3323e5400160538f5d516aacadb8e677d8bd Author: John Baldwin AuthorDate: 2022-05-09 19:22:01 +0000 Commit: John Baldwin CommitDate: 2022-05-09 19:22:01 +0000 cxgb: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/cxgb/cxgb_main.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/sys/dev/cxgb/cxgb_main.c b/sys/dev/cxgb/cxgb_main.c index 5c0bdd569fab..e31050a2f946 100644 --- a/sys/dev/cxgb/cxgb_main.c +++ b/sys/dev/cxgb/cxgb_main.c @@ -172,9 +172,8 @@ static driver_t cxgb_controller_driver = { }; static int cxgbc_mod_event(module_t, int, void *); -static devclass_t cxgb_controller_devclass; -DRIVER_MODULE(cxgbc, pci, cxgb_controller_driver, cxgb_controller_devclass, - cxgbc_mod_event, 0); + +DRIVER_MODULE(cxgbc, pci, cxgb_controller_driver, cxgbc_mod_event, NULL); MODULE_PNP_INFO("U16:vendor;U16:device", pci, cxgbc, cxgb_identifiers, nitems(cxgb_identifiers) - 1); MODULE_VERSION(cxgbc, 1); @@ -214,8 +213,7 @@ static struct cdevsw cxgb_cdevsw = { .d_name = "cxgb", }; -static devclass_t cxgb_port_devclass; -DRIVER_MODULE(cxgb, cxgbc, cxgb_port_driver, cxgb_port_devclass, 0, 0); +DRIVER_MODULE(cxgb, cxgbc, cxgb_port_driver, 0, 0); MODULE_VERSION(cxgb, 1); DEBUGNET_DEFINE(cxgb);