diff options
Diffstat (limited to 'sys/dev/iicbus')
-rw-r--r-- | sys/dev/iicbus/iic.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/iicbus/iic.c b/sys/dev/iicbus/iic.c index de490b7..b1a6bac 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); |