git: 372cb4d0cc31 - main - spigen: Remove unused devclass argument to DRIVER_MODULE.

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

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

commit 372cb4d0cc317e841a1f8f6582851160e078d16b
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-09 19:22:04 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-09 19:22:04 +0000

    spigen: Remove unused devclass argument to DRIVER_MODULE.
---
 sys/dev/spibus/spigen.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sys/dev/spibus/spigen.c b/sys/dev/spibus/spigen.c
index 68e19c6a0760..a943c9ee4a1f 100644
--- a/sys/dev/spibus/spigen.c
+++ b/sys/dev/spibus/spigen.c
@@ -376,8 +376,6 @@ spigen_detach(device_t dev)
 	return (0);
 }
 
-static devclass_t spigen_devclass;
-
 static device_method_t spigen_methods[] = {
 	/* Device interface */
 	DEVMETHOD(device_probe,		spigen_probe),
@@ -392,7 +390,7 @@ static driver_t spigen_driver = {
 	sizeof(struct spigen_softc),
 };
 
-DRIVER_MODULE(spigen, spibus, spigen_driver, spigen_devclass, 0, 0);
+DRIVER_MODULE(spigen, spibus, spigen_driver, 0, 0);
 MODULE_DEPEND(spigen, spibus, 1, 1, 1);
 #ifdef FDT
 SIMPLEBUS_PNP_INFO(compat_data);