The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=eae4b615d75f5f78fda658043f363b2a60bfadb9
commit eae4b615d75f5f78fda658043f363b2a60bfadb9 Author: John Baldwin <j...@freebsd.org> AuthorDate: 2022-05-06 22:46:56 +0000 Commit: John Baldwin <j...@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);