diff options
Diffstat (limited to 'sys/dev/usb/moscom.c')
-rw-r--r-- | sys/dev/usb/moscom.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/usb/moscom.c b/sys/dev/usb/moscom.c index 0c97510ee54..c646c4a6331 100644 --- a/sys/dev/usb/moscom.c +++ b/sys/dev/usb/moscom.c @@ -1,4 +1,4 @@ -/* $OpenBSD: moscom.c,v 1.14 2010/09/24 08:33:59 yuo Exp $ */ +/* $OpenBSD: moscom.c,v 1.15 2011/01/25 20:03:36 jakemsr Exp $ */ /* * Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org> @@ -260,9 +260,6 @@ moscom_attach(struct device *parent, struct device *self, void *aux) uca.methods = &moscom_methods; uca.arg = sc; uca.info = NULL; - - usbd_add_drv_event(USB_EVENT_DRIVER_ATTACH, sc->sc_udev, - &sc->sc_dev); sc->sc_subdev = config_found_sm(self, &uca, ucomprint, ucomsubmatch); } @@ -278,9 +275,6 @@ moscom_detach(struct device *self, int flags) sc->sc_subdev = NULL; } - usbd_add_drv_event(USB_EVENT_DRIVER_DETACH, sc->sc_udev, - &sc->sc_dev); - return (rv); } |