Date: Fri, 6 May 2022 22:43:04 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: 7e8e6125ab38 - main - bce: Remove unused devclass argument to DRIVER_MODULE. Message-ID: <202205062243.246Mh4FF019204@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=7e8e6125ab382522531f7dbb2fc643660f6aa768 commit 7e8e6125ab382522531f7dbb2fc643660f6aa768 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-19 21:01:36 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-06 22:39:29 +0000 bce: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/bce/if_bce.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/bce/if_bce.c b/sys/dev/bce/if_bce.c index dc55e8fa404d..fa969571636b 100644 --- a/sys/dev/bce/if_bce.c +++ b/sys/dev/bce/if_bce.c @@ -515,13 +515,11 @@ static driver_t bce_driver = { sizeof(struct bce_softc) }; -static devclass_t bce_devclass; - MODULE_DEPEND(bce, pci, 1, 1, 1); MODULE_DEPEND(bce, ether, 1, 1, 1); MODULE_DEPEND(bce, miibus, 1, 1, 1); -DRIVER_MODULE(bce, pci, bce_driver, bce_devclass, NULL, NULL); +DRIVER_MODULE(bce, pci, bce_driver, NULL, NULL); DRIVER_MODULE(miibus, bce, miibus_driver, NULL, NULL); MODULE_PNP_INFO("U16:vendor;U16:device;U16:#;U16:#;D:#", pci, bce, bce_devs, nitems(bce_devs) - 1);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205062243.246Mh4FF019204>