git: 86dc8398c9ca - main - ftwd/ichwd/itwd/viawd/wbwd: Remove unused devclass arguments to DRIVER_MODULE.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Mon, 09 May 2022 19:22:50 UTC
The branch main has been updated by jhb:

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

commit 86dc8398c9ca2283c5d6984992b7a585257b5adb
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-09 19:22:01 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-09 19:22:01 +0000

    ftwd/ichwd/itwd/viawd/wbwd: Remove unused devclass arguments to DRIVER_MODULE.
---
 sys/dev/ftwd/ftwd.c   | 4 +---
 sys/dev/ichwd/ichwd.c | 4 +---
 sys/dev/itwd/itwd.c   | 4 +---
 sys/dev/viawd/viawd.c | 4 +---
 sys/dev/wbwd/wbwd.c   | 4 +---
 5 files changed, 5 insertions(+), 15 deletions(-)

diff --git a/sys/dev/ftwd/ftwd.c b/sys/dev/ftwd/ftwd.c
index a42bad4aa2f6..348dfa2e4613 100644
--- a/sys/dev/ftwd/ftwd.c
+++ b/sys/dev/ftwd/ftwd.c
@@ -150,8 +150,6 @@ static driver_t ftwd_driver = {
 	sizeof (struct ftwd_softc)
 };
 
-static devclass_t ftwd_devclass;
-
-DRIVER_MODULE(ftwd, superio, ftwd_driver, ftwd_devclass, NULL, NULL);
+DRIVER_MODULE(ftwd, superio, ftwd_driver, NULL, NULL);
 MODULE_DEPEND(ftwd, superio, 1, 1, 1);
 MODULE_VERSION(ftwd, 1);
diff --git a/sys/dev/ichwd/ichwd.c b/sys/dev/ichwd/ichwd.c
index 5aab4af0a1f7..980bea734cd3 100644
--- a/sys/dev/ichwd/ichwd.c
+++ b/sys/dev/ichwd/ichwd.c
@@ -304,8 +304,6 @@ static struct ichwd_device ichwd_smb_devices[] = {
 	{ 0, NULL, 0, 0 },
 };
 
-static devclass_t ichwd_devclass;
-
 #define ichwd_read_tco_1(sc, off) \
 	bus_read_1((sc)->tco_res, (off))
 #define ichwd_read_tco_2(sc, off) \
@@ -988,4 +986,4 @@ static driver_t ichwd_driver = {
 	sizeof(struct ichwd_softc),
 };
 
-DRIVER_MODULE(ichwd, isa, ichwd_driver, ichwd_devclass, NULL, NULL);
+DRIVER_MODULE(ichwd, isa, ichwd_driver, NULL, NULL);
diff --git a/sys/dev/itwd/itwd.c b/sys/dev/itwd/itwd.c
index ee2bf0d20080..a2fb79db5f3c 100644
--- a/sys/dev/itwd/itwd.c
+++ b/sys/dev/itwd/itwd.c
@@ -229,8 +229,6 @@ static driver_t itwd_driver = {
 	sizeof (struct itwd_softc)
 };
 
-static devclass_t itwd_devclass;
-
-DRIVER_MODULE(itwd, superio, itwd_driver, itwd_devclass, NULL, NULL);
+DRIVER_MODULE(itwd, superio, itwd_driver, NULL, NULL);
 MODULE_DEPEND(itwd, superio, 1, 1, 1);
 MODULE_VERSION(itwd, 1);
diff --git a/sys/dev/viawd/viawd.c b/sys/dev/viawd/viawd.c
index f62edd947d3b..5e3bf03434ab 100644
--- a/sys/dev/viawd/viawd.c
+++ b/sys/dev/viawd/viawd.c
@@ -58,8 +58,6 @@ static struct viawd_device viawd_devices[] = {
 	{ 0, NULL },
 };
 
-static devclass_t viawd_devclass;
-
 static void
 viawd_tmr_state(struct viawd_softc *sc, int enable)
 {
@@ -252,4 +250,4 @@ static driver_t viawd_driver = {
 	sizeof(struct viawd_softc),
 };
 
-DRIVER_MODULE(viawd, isab, viawd_driver, viawd_devclass, NULL, NULL);
+DRIVER_MODULE(viawd, isab, viawd_driver, NULL, NULL);
diff --git a/sys/dev/wbwd/wbwd.c b/sys/dev/wbwd/wbwd.c
index 98833ccf88f0..e10f1cc44f6d 100644
--- a/sys/dev/wbwd/wbwd.c
+++ b/sys/dev/wbwd/wbwd.c
@@ -681,8 +681,6 @@ static driver_t wb_driver = {
 	sizeof(struct wb_softc)
 };
 
-static devclass_t wb_devclass;
-
-DRIVER_MODULE(wb, superio, wb_driver, wb_devclass, NULL, NULL);
+DRIVER_MODULE(wb, superio, wb_driver, NULL, NULL);
 MODULE_DEPEND(wb, superio, 1, 1, 1);
 MODULE_VERSION(wb, 1);