Date: Fri, 6 May 2022 22:43:47 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: 7fcc34492800 - main - msk: Remove unused devclass arguments to DRIVER_MODULE. Message-ID: <202205062243.246MhlkY020162@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=7fcc3449280064f975dadc7e5618a712d894b664 commit 7fcc3449280064f975dadc7e5618a712d894b664 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-20 17:05:43 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-06 22:39:32 +0000 msk: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/msk/if_msk.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/sys/dev/msk/if_msk.c b/sys/dev/msk/if_msk.c index 6436079ec38b..3ca1bc431ccf 100644 --- a/sys/dev/msk/if_msk.c +++ b/sys/dev/msk/if_msk.c @@ -349,8 +349,6 @@ static driver_t mskc_driver = { sizeof(struct msk_softc) }; -static devclass_t mskc_devclass; - static device_method_t msk_methods[] = { /* Device interface */ DEVMETHOD(device_probe, msk_probe), @@ -372,10 +370,8 @@ static driver_t msk_driver = { sizeof(struct msk_if_softc) }; -static devclass_t msk_devclass; - -DRIVER_MODULE(mskc, pci, mskc_driver, mskc_devclass, NULL, NULL); -DRIVER_MODULE(msk, mskc, msk_driver, msk_devclass, NULL, NULL); +DRIVER_MODULE(mskc, pci, mskc_driver, NULL, NULL); +DRIVER_MODULE(msk, mskc, msk_driver, NULL, NULL); DRIVER_MODULE(miibus, msk, miibus_driver, NULL, NULL); static struct resource_spec msk_res_spec_io[] = {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205062243.246MhlkY020162>