Date: Fri, 6 May 2022 22:43:01 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: cf80fdefcafd - main - ale: Remove unused devclass argument to DRIVER_MODULE. Message-ID: <202205062243.246Mh1hL019130@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=cf80fdefcafd1a48a7fef8e580f20f9843bbc3d2 commit cf80fdefcafd1a48a7fef8e580f20f9843bbc3d2 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-19 20:43:56 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-06 22:39:29 +0000 ale: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/ale/if_ale.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/ale/if_ale.c b/sys/dev/ale/if_ale.c index 45ece1f7ce4d..f91a5af44be0 100644 --- a/sys/dev/ale/if_ale.c +++ b/sys/dev/ale/if_ale.c @@ -175,9 +175,7 @@ static driver_t ale_driver = { sizeof(struct ale_softc) }; -static devclass_t ale_devclass; - -DRIVER_MODULE(ale, pci, ale_driver, ale_devclass, NULL, NULL); +DRIVER_MODULE(ale, pci, ale_driver, NULL, NULL); MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, ale, ale_devs, nitems(ale_devs)); DRIVER_MODULE(miibus, ale, miibus_driver, NULL, NULL);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205062243.246Mh1hL019130>