diff options
Diffstat (limited to 'sys/dev/usb/udsbr.c')
-rw-r--r-- | sys/dev/usb/udsbr.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/usb/udsbr.c b/sys/dev/usb/udsbr.c index 35f2a432467..a3b9e2084c6 100644 --- a/sys/dev/usb/udsbr.c +++ b/sys/dev/usb/udsbr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udsbr.c,v 1.21 2009/10/13 19:33:17 pirofti Exp $ */ +/* $OpenBSD: udsbr.c,v 1.22 2011/01/25 20:03:36 jakemsr Exp $ */ /* $NetBSD: udsbr.c,v 1.7 2002/07/11 21:14:27 augustss Exp $ */ /* @@ -147,9 +147,6 @@ udsbr_attach(struct device *parent, struct device *self, void *aux) DPRINTFN(10, ("udsbr_attach: %p\n", sc->sc_udev)); - usbd_add_drv_event(USB_EVENT_DRIVER_ATTACH, sc->sc_udev, - &sc->sc_dev); - sc->sc_child = radio_attach_mi(&udsbr_hw_if, sc, &sc->sc_dev); } @@ -162,9 +159,6 @@ udsbr_detach(struct device *self, int flags) if (sc->sc_child != NULL) rv = config_detach(sc->sc_child, flags); - usbd_add_drv_event(USB_EVENT_DRIVER_DETACH, sc->sc_udev, - &sc->sc_dev); - return (rv); } |