Date: Mon, 9 May 2022 21:48:09 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: cee4d6883009 - main - ffec: Remove unused devclass argument to DRIVER_MODULE. Message-ID: <202205092148.249Lm9Wg080625@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205092148.249Lm9Wg080625>