Date: Fri, 6 May 2022 23:24:58 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: eae4b615d75f - main - ti: Remove unused devclass argument to DRIVER_MODULE. Message-ID: <202205062324.246NOwDB075258@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=eae4b615d75f5f78fda658043f363b2a60bfadb9 commit eae4b615d75f5f78fda658043f363b2a60bfadb9 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-06 22:46:56 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-06 22:46:56 +0000 ti: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/ti/if_ti.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c index de173e726f62..80815e4f848b 100644 --- a/sys/dev/ti/if_ti.c +++ b/sys/dev/ti/if_ti.c @@ -272,9 +272,7 @@ static driver_t ti_driver = { sizeof(struct ti_softc) }; -static devclass_t ti_devclass; - -DRIVER_MODULE(ti, pci, ti_driver, ti_devclass, 0, 0); +DRIVER_MODULE(ti, pci, ti_driver, 0, 0); MODULE_DEPEND(ti, pci, 1, 1, 1); MODULE_DEPEND(ti, ether, 1, 1, 1);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205062324.246NOwDB075258>