git: 7ce7aacc9de5 - main - enetc: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 21:48:03 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=7ce7aacc9de5b5f748a3abf67748cdfd79c2da77 commit 7ce7aacc9de5b5f748a3abf67748cdfd79c2da77 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-09 21:26:45 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-09 21:26:45 +0000 enetc: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/enetc/if_enetc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/enetc/if_enetc.c b/sys/dev/enetc/if_enetc.c index 76656297044a..c6c0582be04f 100644 --- a/sys/dev/enetc/if_enetc.c +++ b/sys/dev/enetc/if_enetc.c @@ -165,11 +165,9 @@ static driver_t enetc_driver = { "enetc", enetc_methods, sizeof(struct enetc_softc) }; -static devclass_t enetc_devclass; DRIVER_MODULE(miibus, enetc, miibus_fdt_driver, NULL, NULL); /* Make sure miibus gets procesed first. */ -DRIVER_MODULE_ORDERED(enetc, pci, enetc_driver, enetc_devclass, NULL, NULL, - SI_ORDER_ANY); +DRIVER_MODULE_ORDERED(enetc, pci, enetc_driver, NULL, NULL, SI_ORDER_ANY); MODULE_VERSION(enetc, 1); IFLIB_PNP_INFO(pci, enetc, enetc_vendor_info_array);