git: dcb580367497 - main - dme: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 May 2022 17:36:34 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=dcb580367497c1fe8326361b207a4ddb7afa1669 commit dcb580367497c1fe8326361b207a4ddb7afa1669 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-10 17:21:39 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-10 17:21:39 +0000 dme: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/dme/if_dme.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/dme/if_dme.c b/sys/dev/dme/if_dme.c index 4f989d44194e..c518fa98af0f 100644 --- a/sys/dev/dme/if_dme.c +++ b/sys/dev/dme/if_dme.c @@ -1053,10 +1053,8 @@ static driver_t dme_driver = { sizeof(struct dme_softc) }; -static devclass_t dme_devclass; - MODULE_DEPEND(dme, ether, 1, 1, 1); MODULE_DEPEND(dme, miibus, 1, 1, 1); -DRIVER_MODULE(dme, simplebus, dme_driver, dme_devclass, 0, 0); +DRIVER_MODULE(dme, simplebus, dme_driver, 0, 0); DRIVER_MODULE(miibus, dme, miibus_driver, 0, 0);