git: 6d51c76d6f53 - main - alc: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 22:42:59 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=6d51c76d6f532073664e4c6370004f65e9f887b4 commit 6d51c76d6f532073664e4c6370004f65e9f887b4 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-19 20:43:18 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-06 22:39:29 +0000 alc: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/alc/if_alc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/alc/if_alc.c b/sys/dev/alc/if_alc.c index e1898a2827aa..05254d462db0 100644 --- a/sys/dev/alc/if_alc.c +++ b/sys/dev/alc/if_alc.c @@ -240,9 +240,7 @@ static driver_t alc_driver = { sizeof(struct alc_softc) }; -static devclass_t alc_devclass; - -DRIVER_MODULE(alc, pci, alc_driver, alc_devclass, 0, 0); +DRIVER_MODULE(alc, pci, alc_driver, 0, 0); MODULE_PNP_INFO("U16:vendor;U16:device", pci, alc, alc_ident_table, nitems(alc_ident_table) - 1); DRIVER_MODULE(miibus, alc, miibus_driver, 0, 0);