git: cf80fdefcafd - main - ale: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 22:43:01 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=cf80fdefcafd1a48a7fef8e580f20f9843bbc3d2
commit cf80fdefcafd1a48a7fef8e580f20f9843bbc3d2
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-04-19 20:43:56 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-06 22:39:29 +0000
ale: Remove unused devclass argument to DRIVER_MODULE.
---
sys/dev/ale/if_ale.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sys/dev/ale/if_ale.c b/sys/dev/ale/if_ale.c
index 45ece1f7ce4d..f91a5af44be0 100644
--- a/sys/dev/ale/if_ale.c
+++ b/sys/dev/ale/if_ale.c
@@ -175,9 +175,7 @@ static driver_t ale_driver = {
sizeof(struct ale_softc)
};
-static devclass_t ale_devclass;
-
-DRIVER_MODULE(ale, pci, ale_driver, ale_devclass, NULL, NULL);
+DRIVER_MODULE(ale, pci, ale_driver, NULL, NULL);
MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, ale, ale_devs,
nitems(ale_devs));
DRIVER_MODULE(miibus, ale, miibus_driver, NULL, NULL);