git: c62e1a1f1924 - main - vmgenc: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 23:25:07 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=c62e1a1f19247d1b9696fa0351e84fa63da24733 commit c62e1a1f19247d1b9696fa0351e84fa63da24733 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 vmgenc: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/vmgenc/vmgenc_acpi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/dev/vmgenc/vmgenc_acpi.c b/sys/dev/vmgenc/vmgenc_acpi.c index 812db6ea7df8..718632097ca5 100644 --- a/sys/dev/vmgenc/vmgenc_acpi.c +++ b/sys/dev/vmgenc/vmgenc_acpi.c @@ -256,7 +256,6 @@ static driver_t vmgenc_driver = { sizeof(struct vmgenc_softc), }; -static devclass_t vmgenc_devclass; -DRIVER_MODULE(vmgenc, acpi, vmgenc_driver, vmgenc_devclass, NULL, NULL); +DRIVER_MODULE(vmgenc, acpi, vmgenc_driver, NULL, NULL); MODULE_DEPEND(vmgenc, acpi, 1, 1, 1); MODULE_DEPEND(vemgenc, random_harvestq, 1, 1, 1);