git: be2750862d95 - main - isa: Remove unused devclass arguments to DRIVER_MODULE.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Fri, 06 May 2022 23:25:37 UTC
The branch main has been updated by jhb:

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

commit be2750862d95eb4536d68c360c9e635c3f9bc9d4
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-06 22:46:59 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-06 22:46:59 +0000

    isa: Remove unused devclass arguments to DRIVER_MODULE.
---
 sys/isa/pnp.c         | 4 +---
 sys/isa/syscons_isa.c | 4 +---
 sys/isa/vga_isa.c     | 8 ++------
 3 files changed, 4 insertions(+), 12 deletions(-)

diff --git a/sys/isa/pnp.c b/sys/isa/pnp.c
index c2c66e08c208..462814616cca 100644
--- a/sys/isa/pnp.c
+++ b/sys/isa/pnp.c
@@ -767,6 +767,4 @@ static driver_t pnp_driver = {
 	1,			/* no softc */
 };
 
-static devclass_t pnp_devclass;
-
-DRIVER_MODULE(pnp, isa, pnp_driver, pnp_devclass, 0, 0);
+DRIVER_MODULE(pnp, isa, pnp_driver, 0, 0);
diff --git a/sys/isa/syscons_isa.c b/sys/isa/syscons_isa.c
index 862b6f31c62c..77d09d848daf 100644
--- a/sys/isa/syscons_isa.c
+++ b/sys/isa/syscons_isa.c
@@ -62,8 +62,6 @@ __FBSDID("$FreeBSD$");
 
 #include <isa/isavar.h>
 
-static devclass_t	sc_devclass;
-
 static sc_softc_t	main_softc;
 
 static void
@@ -230,4 +228,4 @@ static driver_t sc_driver = {
 	sizeof(sc_softc_t),
 };
 
-DRIVER_MODULE(sc, isa, sc_driver, sc_devclass, 0, 0);
+DRIVER_MODULE(sc, isa, sc_driver, 0, 0);
diff --git a/sys/isa/vga_isa.c b/sys/isa/vga_isa.c
index ac628922148d..64fc80700d9e 100644
--- a/sys/isa/vga_isa.c
+++ b/sys/isa/vga_isa.c
@@ -131,8 +131,6 @@ vga_resume(device_t dev)
 	}
 }
 
-static devclass_t	isavga_devclass;
-
 static void
 isavga_identify(driver_t *driver, device_t parent)
 {
@@ -239,9 +237,7 @@ static driver_t isavga_driver = {
 	sizeof(vga_softc_t),
 };
 
-DRIVER_MODULE(vga, isa, isavga_driver, isavga_devclass, 0, 0);
-
-static devclass_t	vgapm_devclass;
+DRIVER_MODULE(vga, isa, isavga_driver, 0, 0);
 
 static void
 vgapm_identify(driver_t *driver, device_t parent)
@@ -315,5 +311,5 @@ static driver_t vgapm_driver = {
 	0
 };
 
-DRIVER_MODULE(vgapm, vgapci, vgapm_driver, vgapm_devclass, 0, 0);
+DRIVER_MODULE(vgapm, vgapci, vgapm_driver, 0, 0);
 ISA_PNP_INFO(vga_ids);