git: 1262e0171e3c - main - otus: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 19:23:17 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=1262e0171e3c4df68b7eee3cf6bdf81286f68123 commit 1262e0171e3c4df68b7eee3cf6bdf81286f68123 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 otus: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/otus/if_otus.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/otus/if_otus.c b/sys/dev/otus/if_otus.c index cde1ad990ff9..d0c8fc93ef92 100644 --- a/sys/dev/otus/if_otus.c +++ b/sys/dev/otus/if_otus.c @@ -221,9 +221,7 @@ static driver_t otus_driver = { .size = sizeof(struct otus_softc) }; -static devclass_t otus_devclass; - -DRIVER_MODULE(otus, uhub, otus_driver, otus_devclass, NULL, 0); +DRIVER_MODULE(otus, uhub, otus_driver, NULL, NULL); MODULE_DEPEND(otus, wlan, 1, 1, 1); MODULE_DEPEND(otus, usb, 1, 1, 1); MODULE_DEPEND(otus, firmware, 1, 1, 1);