Date: Fri, 6 May 2022 22:43:14 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: 9e0570547b26 - main - em/igb: Remove unused devclass arguments to DRIVER_MODULE. Message-ID: <202205062243.246MhEDv019430@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=9e0570547b262edc193e293c0d0b5b18feb701ba commit 9e0570547b262edc193e293c0d0b5b18feb701ba Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-19 21:13:29 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-06 22:39:29 +0000 em/igb: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/e1000/if_em.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c index f9d3edbd59a6..bdb76d86995a 100644 --- a/sys/dev/e1000/if_em.c +++ b/sys/dev/e1000/if_em.c @@ -377,8 +377,7 @@ static driver_t em_driver = { "em", em_methods, sizeof(struct e1000_softc), }; -static devclass_t em_devclass; -DRIVER_MODULE(em, pci, em_driver, em_devclass, 0, 0); +DRIVER_MODULE(em, pci, em_driver, 0, 0); MODULE_DEPEND(em, pci, 1, 1, 1); MODULE_DEPEND(em, ether, 1, 1, 1); @@ -390,8 +389,7 @@ static driver_t igb_driver = { "igb", igb_methods, sizeof(struct e1000_softc), }; -static devclass_t igb_devclass; -DRIVER_MODULE(igb, pci, igb_driver, igb_devclass, 0, 0); +DRIVER_MODULE(igb, pci, igb_driver, 0, 0); MODULE_DEPEND(igb, pci, 1, 1, 1); MODULE_DEPEND(igb, ether, 1, 1, 1);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205062243.246MhEDv019430>