git: cee4d6883009 - main - ffec: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 21:48:09 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=cee4d6883009b39e51781198a827e8a439835411 commit cee4d6883009b39e51781198a827e8a439835411 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-09 21:26:46 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-09 21:26:46 +0000 ffec: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/ffec/if_ffec.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/ffec/if_ffec.c b/sys/dev/ffec/if_ffec.c index 5de368e4b410..37eb626ceca5 100644 --- a/sys/dev/ffec/if_ffec.c +++ b/sys/dev/ffec/if_ffec.c @@ -1830,9 +1830,7 @@ static driver_t ffec_driver = { sizeof(struct ffec_softc) }; -static devclass_t ffec_devclass; - -DRIVER_MODULE(ffec, simplebus, ffec_driver, ffec_devclass, 0, 0); +DRIVER_MODULE(ffec, simplebus, ffec_driver, 0, 0); DRIVER_MODULE(miibus, ffec, miibus_driver, 0, 0); MODULE_DEPEND(ffec, ether, 1, 1, 1);