git: 108252d85fce - main - nfe: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 23:25:33 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=108252d85fceecb5216e587d960d8dfb671f84c0 commit 108252d85fceecb5216e587d960d8dfb671f84c0 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-06 22:46:59 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-06 22:46:59 +0000 nfe: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/nfe/if_nfe.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/nfe/if_nfe.c b/sys/dev/nfe/if_nfe.c index 5217dca7df96..a7f998cb73c1 100644 --- a/sys/dev/nfe/if_nfe.c +++ b/sys/dev/nfe/if_nfe.c @@ -181,9 +181,7 @@ static driver_t nfe_driver = { sizeof(struct nfe_softc) }; -static devclass_t nfe_devclass; - -DRIVER_MODULE(nfe, pci, nfe_driver, nfe_devclass, 0, 0); +DRIVER_MODULE(nfe, pci, nfe_driver, 0, 0); DRIVER_MODULE(miibus, nfe, miibus_driver, 0, 0); static struct nfe_type nfe_devs[] = {