From nobody Mon May 09 19:23:25 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 319011AC42CC; Mon, 9 May 2022 19:23:26 +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 4KxrgK4R2Fz3pSy; Mon, 9 May 2022 19:23:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124205; 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=U2Ayap0MntkvlOt1dsVwmhT69BsIReZ/pKdWPVWJypM=; b=MLiM5b/R6qWh0Rj2frTMLQO8MXi9uoZAMGhU4QevxLwFeljUn91bSaufT+ZjJBp+jWECOn F2vbHv+df4dzMZLN1PHlWYofPKBx/mAPr5775pcPabeyT3RXIyOt3PUAEzifI4lgSI1wHE 64izbk4+Q0cZ1qZ3pj4C1x3lEdgUmihdG8neG6fDh39+QFzBE0CT61SYuEa2F4RBJ/ZKcr o8H1U5EkVtsi60Bh5I/s96ICqDC1JF7WoRjpQjtEoTxE76HxZ7gQ6jIU7RpvS80RrmVDsE ba7lKlpGD1G765nOo8E09/r9xvSLfT8X73uItSnKZT2dN1Hyhk2zHMvamgNDKw== 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 3ED7116E1A; Mon, 9 May 2022 19:23:25 +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 249JNPix086149; Mon, 9 May 2022 19:23:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249JNPbk086148; Mon, 9 May 2022 19:23:25 GMT (envelope-from git) Date: Mon, 9 May 2022 19:23:25 GMT Message-Id: <202205091923.249JNPbk086148@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: 1bbc46a868a7 - main - rtwn: 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: 1bbc46a868a70f0b0dd548bf1015068b87b30f14 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124205; 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=U2Ayap0MntkvlOt1dsVwmhT69BsIReZ/pKdWPVWJypM=; b=RoPmqZxoOAq8U3Tp4qIGJobNGqUaS39+13HGOo1w06cyMpOw6QrxkDBSDMdcqiuqcMi0Ii 7xQxU9Tp8bZa19eRiWm8o2+NSYkYBMjfAmOmDyB0FlxWRitMor2Ev6lDbVZAFPYQ3C8OI9 dfP06HCrppxCuG+DfH9wPbz+FAl2Q8vnrva4IwTp1r4y6BmB0TytABLcIOKz+BrFgFjOl5 w+0NMr3m3jv8o9cmMDE+SVd56fUjNFVNyPc+PROKEgYiQV/+CerslFAETf/O7oIi3qlUzY NcWU4q/sz+WXEWzV+8KSvVT6gBPcrGjzLwum7NCDFPIFJ3foQMM8mCnXJ9Cw5g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652124205; a=rsa-sha256; cv=none; b=u95VyQL2GYXc/Rc2k9bYB2BClwuqrxxszOYEPkuREj8AyLX3ouKrsS0GdMXICquAFRNi9R j/NSsGPOOr3pVfNpO3BJ23TX5JpaVXxYObLBHuJ5Yo2o4/yR/bYBysbdudO5p7QTRkDtca WtgRBZ6U3g8d3b1v2CiXSbouZm9SPSon9CxFPaqL2xpzsFY7SeWpQAWA40E/1WXhVJlnJ5 7evvq/YR+SWmF2j5XjOVSr/GIBSzVBub0mN3ohqBo5PjeWULlIT28sqSOg4vyLzaycCdfI SFJ7paIwoLdWF6VDbuKDDZQ6iO6qm63x2/ntWgziYO7KNDfojbRs05jGr0kfWQ== 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=1bbc46a868a70f0b0dd548bf1015068b87b30f14 commit 1bbc46a868a70f0b0dd548bf1015068b87b30f14 Author: John Baldwin AuthorDate: 2022-05-09 19:22:04 +0000 Commit: John Baldwin CommitDate: 2022-05-09 19:22:04 +0000 rtwn: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/rtwn/pci/rtwn_pci_attach.c | 4 +--- sys/dev/rtwn/usb/rtwn_usb_attach.c | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/sys/dev/rtwn/pci/rtwn_pci_attach.c b/sys/dev/rtwn/pci/rtwn_pci_attach.c index efa6bc01501e..65c2313fed6f 100644 --- a/sys/dev/rtwn/pci/rtwn_pci_attach.c +++ b/sys/dev/rtwn/pci/rtwn_pci_attach.c @@ -783,9 +783,7 @@ static driver_t rtwn_pci_driver = { sizeof(struct rtwn_pci_softc) }; -static devclass_t rtwn_pci_devclass; - -DRIVER_MODULE(rtwn_pci, pci, rtwn_pci_driver, rtwn_pci_devclass, NULL, NULL); +DRIVER_MODULE(rtwn_pci, pci, rtwn_pci_driver, NULL, NULL); MODULE_VERSION(rtwn_pci, 1); MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, rtwn, rtwn_pci_ident_table, nitems(rtwn_pci_ident_table)); diff --git a/sys/dev/rtwn/usb/rtwn_usb_attach.c b/sys/dev/rtwn/usb/rtwn_usb_attach.c index cb775bae3188..4e881b2d0de5 100644 --- a/sys/dev/rtwn/usb/rtwn_usb_attach.c +++ b/sys/dev/rtwn/usb/rtwn_usb_attach.c @@ -480,9 +480,7 @@ static driver_t rtwn_usb_driver = { sizeof(struct rtwn_usb_softc) }; -static devclass_t rtwn_usb_devclass; - -DRIVER_MODULE(rtwn_usb, uhub, rtwn_usb_driver, rtwn_usb_devclass, NULL, NULL); +DRIVER_MODULE(rtwn_usb, uhub, rtwn_usb_driver, NULL, NULL); MODULE_VERSION(rtwn_usb, 1); MODULE_DEPEND(rtwn_usb, usb, 1, 1, 1); MODULE_DEPEND(rtwn_usb, wlan, 1, 1, 1);