git: 3af6e882c393 - main - vt: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 23:25:11 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=3af6e882c3939a0e70689fdd7ab8936b2126c7fe
commit 3af6e882c3939a0e70689fdd7ab8936b2126c7fe
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
vt: Remove unused devclass argument to DRIVER_MODULE.
---
sys/dev/vt/hw/vga/vt_vga.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sys/dev/vt/hw/vga/vt_vga.c b/sys/dev/vt/hw/vga/vt_vga.c
index d457f8c7b31d..92c590bc66ec 100644
--- a/sys/dev/vt/hw/vga/vt_vga.c
+++ b/sys/dev/vt/hw/vga/vt_vga.c
@@ -1389,6 +1389,5 @@ static device_method_t vtvga_methods[] = {
};
DEFINE_CLASS_0(vtvga, vtvga_driver, vtvga_methods, 0);
-devclass_t vtvga_devclass;
-DRIVER_MODULE(vtvga, nexus, vtvga_driver, vtvga_devclass, NULL, NULL);
+DRIVER_MODULE(vtvga, nexus, vtvga_driver, NULL, NULL);