Date: Fri, 6 May 2022 22:42:55 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: 22a99a52728b - main - age: Remove unused devclass argument to DRIVER_MODULE. Message-ID: <202205062242.246MgtUw019004@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=22a99a52728bbaa1da5fca182573dd5bcf3f1600 commit 22a99a52728bbaa1da5fca182573dd5bcf3f1600 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-19 20:37:41 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-06 22:39:28 +0000 age: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/age/if_age.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/age/if_age.c b/sys/dev/age/if_age.c index a4b763a1d748..29853c785efa 100644 --- a/sys/dev/age/if_age.c +++ b/sys/dev/age/if_age.c @@ -178,9 +178,7 @@ static driver_t age_driver = { sizeof(struct age_softc) }; -static devclass_t age_devclass; - -DRIVER_MODULE(age, pci, age_driver, age_devclass, 0, 0); +DRIVER_MODULE(age, pci, age_driver, 0, 0); MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, age, age_devs, nitems(age_devs)); DRIVER_MODULE(miibus, age, miibus_driver, 0, 0);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205062242.246MgtUw019004>