git: 234019a0c3b6 - main - mgb: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 19:23:09 UTC
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);