git: 2d79bae57ec9 - main - my: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 19:23:11 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=2d79bae57ec94af76252e4324a464ae8ab4de9fe commit 2d79bae57ec94af76252e4324a464ae8ab4de9fe 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 my: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/my/if_my.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/my/if_my.c b/sys/dev/my/if_my.c index 1e519e700379..42a85bf502f3 100644 --- a/sys/dev/my/if_my.c +++ b/sys/dev/my/if_my.c @@ -159,9 +159,7 @@ static driver_t my_driver = { sizeof(struct my_softc) }; -static devclass_t my_devclass; - -DRIVER_MODULE(my, pci, my_driver, my_devclass, 0, 0); +DRIVER_MODULE(my, pci, my_driver, 0, 0); MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, my, my_devs, nitems(my_devs) - 1); MODULE_DEPEND(my, pci, 1, 1, 1);