git: 413e6d9d6bd3 - main - et: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 22:43:16 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=413e6d9d6bd3f40dbd0a337aeb978e6906a80319 commit 413e6d9d6bd3f40dbd0a337aeb978e6906a80319 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-19 21:14:10 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-06 22:39:30 +0000 et: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/et/if_et.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/et/if_et.c b/sys/dev/et/if_et.c index 03934279a21b..2280ab541d87 100644 --- a/sys/dev/et/if_et.c +++ b/sys/dev/et/if_et.c @@ -185,9 +185,7 @@ static driver_t et_driver = { sizeof(struct et_softc) }; -static devclass_t et_devclass; - -DRIVER_MODULE(et, pci, et_driver, et_devclass, 0, 0); +DRIVER_MODULE(et, pci, et_driver, 0, 0); MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, et, et_devices, nitems(et_devices) - 1); DRIVER_MODULE(miibus, et, miibus_driver, 0, 0);