git: 33bc769101f0 - main - vte: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 23:25:12 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=33bc769101f0d28161b474bf98ccc8daae3a4d21 commit 33bc769101f0d28161b474bf98ccc8daae3a4d21 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-06 22:46:57 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-06 22:46:57 +0000 vte: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/vte/if_vte.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/vte/if_vte.c b/sys/dev/vte/if_vte.c index 3ad477482846..452b1b90e771 100644 --- a/sys/dev/vte/if_vte.c +++ b/sys/dev/vte/if_vte.c @@ -164,9 +164,7 @@ static driver_t vte_driver = { sizeof(struct vte_softc) }; -static devclass_t vte_devclass; - -DRIVER_MODULE(vte, pci, vte_driver, vte_devclass, 0, 0); +DRIVER_MODULE(vte, pci, vte_driver, 0, 0); DRIVER_MODULE(miibus, vte, miibus_driver, 0, 0); static int