git: 99b29e340871 - main - mxge: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 19:23:10 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=99b29e34087108004ee60c0ef424ee33d31bf903 commit 99b29e34087108004ee60c0ef424ee33d31bf903 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 mxge: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/mxge/if_mxge.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/mxge/if_mxge.c b/sys/dev/mxge/if_mxge.c index 2c175ed6fdc7..bfeedadf4521 100644 --- a/sys/dev/mxge/if_mxge.c +++ b/sys/dev/mxge/if_mxge.c @@ -141,10 +141,8 @@ static driver_t mxge_driver = sizeof(mxge_softc_t), }; -static devclass_t mxge_devclass; - /* Declare ourselves to be a child of the PCI bus.*/ -DRIVER_MODULE(mxge, pci, mxge_driver, mxge_devclass, 0, 0); +DRIVER_MODULE(mxge, pci, mxge_driver, 0, 0); MODULE_DEPEND(mxge, firmware, 1, 1, 1); MODULE_DEPEND(mxge, zlib, 1, 1, 1);