git: 8059bf7b4ae9 - main - mge: Remove unused devclass argument to DRIVER_MODULE.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Tue, 10 May 2022 17:36:42 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=8059bf7b4ae9c84524c93a6d836cc5bac535e3d2

commit 8059bf7b4ae9c84524c93a6d836cc5bac535e3d2
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-10 17:21:39 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-10 17:21:39 +0000

    mge: Remove unused devclass argument to DRIVER_MODULE.
---
 sys/dev/mge/if_mge.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sys/dev/mge/if_mge.c b/sys/dev/mge/if_mge.c
index da951b734fd9..cd49bd5200de 100644
--- a/sys/dev/mge/if_mge.c
+++ b/sys/dev/mge/if_mge.c
@@ -174,10 +174,9 @@ static device_method_t mge_methods[] = {
 
 DEFINE_CLASS_0(mge, mge_driver, mge_methods, sizeof(struct mge_softc));
 
-static devclass_t mge_devclass;
 static int switch_attached = 0;
 
-DRIVER_MODULE(mge, simplebus, mge_driver, mge_devclass, 0, 0);
+DRIVER_MODULE(mge, simplebus, mge_driver, 0, 0);
 DRIVER_MODULE(miibus, mge, miibus_driver, 0, 0);
 DRIVER_MODULE(mdio, mge, mdio_driver, 0, 0);
 MODULE_DEPEND(mge, ether, 1, 1, 1);