git: 0018a3041d85 - main - Remove unused sdiob_devclass.

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

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

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

    Remove unused sdiob_devclass.
---
 sys/dev/sdio/sdiob.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sys/dev/sdio/sdiob.c b/sys/dev/sdio/sdiob.c
index b21ee3b7ce35..abe3a2d50ebb 100644
--- a/sys/dev/sdio/sdiob.c
+++ b/sys/dev/sdio/sdiob.c
@@ -638,7 +638,6 @@ static device_method_t sdiob_methods[] = {
 	DEVMETHOD_END
 };
 
-static devclass_t sdiob_devclass;
 static driver_t sdiob_driver = {
 	SDIOB_NAME_S,
 	sdiob_methods,
@@ -947,7 +946,7 @@ sdio_newbus_sim_add(struct sdiob_softc *sc)
 
 	bus_topo_lock();
 	error = devclass_add_driver(bus_devclass, &sdiob_driver,
-	    BUS_PASS_DEFAULT, &sdiob_devclass);
+	    BUS_PASS_DEFAULT, NULL);
 	bus_topo_unlock();
 	if (error != 0) {
 		printf("%s: Failed to add driver to devclass: %d.\n",