diff --git a/sys/dev/iicbus/iic.c b/sys/dev/iicbus/iic.c index de490b7d73b6..b1a6bac25136 100644 --- a/sys/dev/iicbus/iic.c +++ b/sys/dev/iicbus/iic.c @@ -116,10 +116,6 @@ static int iic_probe(device_t dev) { struct iic_softc *sc = (struct iic_softc *)device_get_softc(dev); - static int once; - - if (!once++) - cdevsw_add(&iic_cdevsw); sc->sc_addr = iicbus_get_addr(dev);