Date: Mon, 9 May 2022 19:23:09 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: 234019a0c3b6 - main - mgb: Remove unused devclass argument to DRIVER_MODULE. Message-ID: <202205091923.249JN99t085796@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=234019a0c3b6e6b19bea233a744587b23612fa8d commit 234019a0c3b6e6b19bea233a744587b23612fa8d Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-09 19:22:03 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-09 19:22:03 +0000 mgb: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/mgb/if_mgb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/dev/mgb/if_mgb.c b/sys/dev/mgb/if_mgb.c index 575830a48a97..ec8619f1dec4 100644 --- a/sys/dev/mgb/if_mgb.c +++ b/sys/dev/mgb/if_mgb.c @@ -206,8 +206,7 @@ static driver_t mgb_driver = { "mgb", mgb_methods, sizeof(struct mgb_softc) }; -static devclass_t mgb_devclass; -DRIVER_MODULE(mgb, pci, mgb_driver, mgb_devclass, NULL, NULL); +DRIVER_MODULE(mgb, pci, mgb_driver, NULL, NULL); IFLIB_PNP_INFO(pci, mgb, mgb_vendor_info_array); MODULE_VERSION(mgb, 1);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205091923.249JN99t085796>