git: b272472ca395 - main - glxiic/glxsb: Remove unused devclass arguments to DRIVER_MODULE.

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

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

commit b272472ca3955d0d141d951bef3930a4dba17c33
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-09 21:26:43 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-09 21:26:43 +0000

    glxiic/glxsb: Remove unused devclass arguments to DRIVER_MODULE.
---
 sys/dev/glxiic/glxiic.c | 4 +---
 sys/dev/glxsb/glxsb.c   | 4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/sys/dev/glxiic/glxiic.c b/sys/dev/glxiic/glxiic.c
index a26e03389ea2..2d1ba670608c 100644
--- a/sys/dev/glxiic/glxiic.c
+++ b/sys/dev/glxiic/glxiic.c
@@ -276,9 +276,7 @@ static driver_t glxiic_driver = {
 	sizeof(struct glxiic_softc),
 };
 
-static devclass_t glxiic_devclass;
-
-DRIVER_MODULE(glxiic, isab, glxiic_driver, glxiic_devclass, 0, 0);
+DRIVER_MODULE(glxiic, isab, glxiic_driver, 0, 0);
 DRIVER_MODULE(iicbus, glxiic, iicbus_driver, 0, 0);
 MODULE_DEPEND(glxiic, iicbus, 1, 1, 1);
 
diff --git a/sys/dev/glxsb/glxsb.c b/sys/dev/glxsb/glxsb.c
index 9b55cd9b77bf..1375141036e2 100644
--- a/sys/dev/glxsb/glxsb.c
+++ b/sys/dev/glxsb/glxsb.c
@@ -236,9 +236,7 @@ static driver_t glxsb_driver = {
 	sizeof(struct glxsb_softc)
 };
 
-static devclass_t glxsb_devclass;
-
-DRIVER_MODULE(glxsb, pci, glxsb_driver, glxsb_devclass, 0, 0);
+DRIVER_MODULE(glxsb, pci, glxsb_driver, 0, 0);
 MODULE_VERSION(glxsb, 1);
 MODULE_DEPEND(glxsb, crypto, 1, 1, 1);