git: 40995739779e - main - mwl: Remove unused devclass argument to DRIVER_MODULE.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Fri, 06 May 2022 22:43:50 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=40995739779e1bfb95a6e089b57bae0b8deeaf34

commit 40995739779e1bfb95a6e089b57bae0b8deeaf34
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-04-20 17:07:43 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-06 22:39:32 +0000

    mwl: Remove unused devclass argument to DRIVER_MODULE.
---
 sys/dev/mwl/if_mwl_pci.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sys/dev/mwl/if_mwl_pci.c b/sys/dev/mwl/if_mwl_pci.c
index bf17fe4750b1..b6d3fdd7a2d7 100644
--- a/sys/dev/mwl/if_mwl_pci.c
+++ b/sys/dev/mwl/if_mwl_pci.c
@@ -281,13 +281,14 @@ static device_method_t mwl_pci_methods[] = {
 	DEVMETHOD(device_resume,	mwl_pci_resume),
 	{ 0,0 }
 };
+
 static driver_t mwl_pci_driver = {
 	"mwl",
 	mwl_pci_methods,
 	sizeof (struct mwl_pci_softc)
 };
-static	devclass_t mwl_devclass;
-DRIVER_MODULE(mwl, pci, mwl_pci_driver, mwl_devclass, 0, 0);
+
+DRIVER_MODULE(mwl, pci, mwl_pci_driver, 0, 0);
 MODULE_VERSION(mwl, 1);
 MODULE_DEPEND(mwl, wlan, 1, 1, 1);		/* 802.11 media layer */
 MODULE_DEPEND(mwl, firmware, 1, 1, 1);