From 0018a3041d856be18e47a25b415ddef9595fd8c4 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Tue, 10 May 2022 10:21:39 -0700 Subject: [PATCH] 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",