git: 27f71c586017 - main - ae: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 22:42:54 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=27f71c58601744c4732eec6a8f8a733b37236330
commit 27f71c58601744c4732eec6a8f8a733b37236330
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-04-19 19:21:28 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-06 22:39:28 +0000
ae: Remove unused devclass argument to DRIVER_MODULE.
---
sys/dev/ae/if_ae.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sys/dev/ae/if_ae.c b/sys/dev/ae/if_ae.c
index dfef57e44a5b..1ffd8b06e522 100644
--- a/sys/dev/ae/if_ae.c
+++ b/sys/dev/ae/if_ae.c
@@ -173,9 +173,8 @@ static driver_t ae_driver = {
ae_methods,
sizeof(ae_softc_t)
};
-static devclass_t ae_devclass;
-DRIVER_MODULE(ae, pci, ae_driver, ae_devclass, 0, 0);
+DRIVER_MODULE(ae, pci, ae_driver, 0, 0);
MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, ae, ae_devs,
nitems(ae_devs));
DRIVER_MODULE(miibus, ae, miibus_driver, 0, 0);