aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2022-04-20 17:05:43 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2022-05-06 22:39:32 +0000
commit7fcc3449280064f975dadc7e5618a712d894b664 (patch)
tree42cfbc404136aee9254fd5a0b2d2f82ef2f6ce6a
parent8b2be9cbabb9d467584e0d6a4c6141c7925475f0 (diff)
downloadsrc-7fcc3449280064f975dadc7e5618a712d894b664.tar.gz
src-7fcc3449280064f975dadc7e5618a712d894b664.zip
-rw-r--r--sys/dev/msk/if_msk.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/msk/if_msk.c b/sys/dev/msk/if_msk.c
index 6436079ec38b..3ca1bc431ccf 100644
--- a/sys/dev/msk/if_msk.c
+++ b/sys/dev/msk/if_msk.c
@@ -349,8 +349,6 @@ static driver_t mskc_driver = {
sizeof(struct msk_softc)
};
-static devclass_t mskc_devclass;
-
static device_method_t msk_methods[] = {
/* Device interface */
DEVMETHOD(device_probe, msk_probe),
@@ -372,10 +370,8 @@ static driver_t msk_driver = {
sizeof(struct msk_if_softc)
};
-static devclass_t msk_devclass;
-
-DRIVER_MODULE(mskc, pci, mskc_driver, mskc_devclass, NULL, NULL);
-DRIVER_MODULE(msk, mskc, msk_driver, msk_devclass, NULL, NULL);
+DRIVER_MODULE(mskc, pci, mskc_driver, NULL, NULL);
+DRIVER_MODULE(msk, mskc, msk_driver, NULL, NULL);
DRIVER_MODULE(miibus, msk, miibus_driver, NULL, NULL);
static struct resource_spec msk_res_spec_io[] = {