git: c46fd018530f - main - adb: Remove unused devclass arguments to DRIVER_MODULE.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Tue, 10 May 2022 17:36:14 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=c46fd018530f48f4e1eef0a331da69ad74298946

commit c46fd018530f48f4e1eef0a331da69ad74298946
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-10 17:21:38 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-10 17:21:38 +0000

    adb: Remove unused devclass arguments to DRIVER_MODULE.
---
 sys/dev/adb/adb_buttons.c | 4 +---
 sys/dev/adb/adb_kbd.c     | 4 +---
 sys/dev/adb/adb_mouse.c   | 4 +---
 3 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/sys/dev/adb/adb_buttons.c b/sys/dev/adb/adb_buttons.c
index 4534f5b2a2e7..fb18435799ad 100644
--- a/sys/dev/adb/adb_buttons.c
+++ b/sys/dev/adb/adb_buttons.c
@@ -78,9 +78,7 @@ static driver_t abtn_driver = {
 	sizeof(struct abtn_softc),
 };
 
-static devclass_t abtn_devclass;
-
-DRIVER_MODULE(abtn, adb, abtn_driver, abtn_devclass, 0, 0);
+DRIVER_MODULE(abtn, adb, abtn_driver, 0, 0);
 
 static int
 abtn_probe(device_t dev)
diff --git a/sys/dev/adb/adb_kbd.c b/sys/dev/adb/adb_kbd.c
index d765e73ed351..757b687da145 100644
--- a/sys/dev/adb/adb_kbd.c
+++ b/sys/dev/adb/adb_kbd.c
@@ -111,9 +111,7 @@ static driver_t adb_kbd_driver = {
 	sizeof(struct adb_kbd_softc),
 };
 
-static devclass_t adb_kbd_devclass;
-
-DRIVER_MODULE(akbd, adb, adb_kbd_driver, adb_kbd_devclass, 0, 0);
+DRIVER_MODULE(akbd, adb, adb_kbd_driver, 0, 0);
 
 #ifdef AKBD_EMULATE_ATKBD
 
diff --git a/sys/dev/adb/adb_mouse.c b/sys/dev/adb/adb_mouse.c
index 6f6f9d633b52..7d051bb79b79 100644
--- a/sys/dev/adb/adb_mouse.c
+++ b/sys/dev/adb/adb_mouse.c
@@ -116,9 +116,7 @@ static driver_t adb_mouse_driver = {
 	sizeof(struct adb_mouse_softc),
 };
 
-static devclass_t adb_mouse_devclass;
-
-DRIVER_MODULE(ams, adb, adb_mouse_driver, adb_mouse_devclass, 0, 0);
+DRIVER_MODULE(ams, adb, adb_mouse_driver, 0, 0);
 
 static struct cdevsw ams_cdevsw = {
 	.d_version = 	D_VERSION,