diff options
Diffstat (limited to 'sys/dev/iicbus/iicbb.c')
-rw-r--r-- | sys/dev/iicbus/iicbb.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/iicbus/iicbb.c b/sys/dev/iicbus/iicbb.c index 53ecdce..554f435 100644 --- a/sys/dev/iicbus/iicbb.c +++ b/sys/dev/iicbus/iicbb.c @@ -115,13 +115,9 @@ static int iicbb_attach(device_t dev) { struct iicbb_softc *sc = (struct iicbb_softc *)device_get_softc(dev); - bzero(sc, sizeof(struct iicbb_softc)); - sc->iicbus = device_add_child(dev, "iicbus", -1); - if (!sc->iicbus) return (ENXIO); - bus_generic_attach(dev); return (0); |