diff options
Diffstat (limited to 'sys/dev/usb/umidi.c')
| -rw-r--r-- | sys/dev/usb/umidi.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/usb/umidi.c b/sys/dev/usb/umidi.c index 825957a4585..78ae450a612 100644 --- a/sys/dev/usb/umidi.c +++ b/sys/dev/usb/umidi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: umidi.c,v 1.27 2010/09/24 08:33:59 yuo Exp $ */ +/* $OpenBSD: umidi.c,v 1.28 2011/01/25 20:03:36 jakemsr Exp $ */ /* $NetBSD: umidi.c,v 1.16 2002/07/11 21:14:32 augustss Exp $ */ /* * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -222,9 +222,6 @@ umidi_attach(struct device *parent, struct device *self, void *aux) (void)start_input_transfer(&sc->sc_in_ep[i]); } - usbd_add_drv_event(USB_EVENT_DRIVER_ATTACH, - sc->sc_udev, &sc->sc_dev); - return; error: printf("%s: disabled.\n", sc->sc_dev.dv_xname); @@ -261,9 +258,6 @@ umidi_detach(struct device *self, int flags) free_all_jacks(sc); free_all_endpoints(sc); - usbd_add_drv_event(USB_EVENT_DRIVER_DETACH, sc->sc_udev, - &sc->sc_dev); - return 0; } |
