From 99b29e34087108004ee60c0ef424ee33d31bf903 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Mon, 9 May 2022 12:22:03 -0700 Subject: [PATCH] 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);