diff options
author | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2011-01-25 20:03:37 +0000 |
---|---|---|
committer | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2011-01-25 20:03:37 +0000 |
commit | 498cf2dc36fa36de9644663ecf827002dd1d0d42 (patch) | |
tree | 01605ac7fc47161753494c6101154a0e366cd607 /sys/dev/usb/umct.c | |
parent | 412272acee23634745871fe5ba77ee2bfd896951 (diff) |
garbage collect "usb events". without /dev/usb there is no way to access
them from userland, and nothing in the kernel uses them.
ok krw@, miod@
Diffstat (limited to 'sys/dev/usb/umct.c')
-rw-r--r-- | sys/dev/usb/umct.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/usb/umct.c b/sys/dev/usb/umct.c index 93395646620..aaec7505ad0 100644 --- a/sys/dev/usb/umct.c +++ b/sys/dev/usb/umct.c @@ -1,4 +1,4 @@ -/* $OpenBSD: umct.c,v 1.31 2010/12/17 21:53:34 jasper Exp $ */ +/* $OpenBSD: umct.c,v 1.32 2011/01/25 20:03:36 jakemsr Exp $ */ /* $NetBSD: umct.c,v 1.10 2003/02/23 04:20:07 simonb Exp $ */ /* * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -303,9 +303,6 @@ umct_attach(struct device *parent, struct device *self, void *aux) umct_init(sc); - usbd_add_drv_event(USB_EVENT_DRIVER_ATTACH, sc->sc_udev, - &sc->sc_dev); - DPRINTF(("umct: in=0x%x out=0x%x intr=0x%x\n", uca.bulkin, uca.bulkout, sc->sc_intr_number )); sc->sc_subdev = config_found_sm(self, &uca, ucomprint, ucomsubmatch); @@ -331,9 +328,6 @@ umct_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); } |