Date: Fri, 6 May 2022 22:43:05 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: 48ebc9403ac5 - main - bfe: Remove unused devclass argument to DRIVER_MODULE. Message-ID: <202205062243.246Mh5Di019232@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=48ebc9403ac52adbdc1532842ace4a4c9f56c99a commit 48ebc9403ac52adbdc1532842ace4a4c9f56c99a Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-19 21:02:10 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-06 22:39:29 +0000 bfe: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/bfe/if_bfe.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/bfe/if_bfe.c b/sys/dev/bfe/if_bfe.c index d5024cd68ee8..bd1dc126265d 100644 --- a/sys/dev/bfe/if_bfe.c +++ b/sys/dev/bfe/if_bfe.c @@ -153,9 +153,7 @@ static driver_t bfe_driver = { sizeof(struct bfe_softc) }; -static devclass_t bfe_devclass; - -DRIVER_MODULE(bfe, pci, bfe_driver, bfe_devclass, 0, 0); +DRIVER_MODULE(bfe, pci, bfe_driver, 0, 0); MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, bfe, bfe_devs, nitems(bfe_devs) - 1); DRIVER_MODULE(miibus, bfe, miibus_driver, 0, 0);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205062243.246Mh5Di019232>