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/uhid.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/uhid.c')
-rw-r--r-- | sys/dev/usb/uhid.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/usb/uhid.c b/sys/dev/usb/uhid.c index 8eec7c7c064..3b564cbf39a 100644 --- a/sys/dev/usb/uhid.c +++ b/sys/dev/usb/uhid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uhid.c,v 1.50 2010/09/24 08:33:59 yuo Exp $ */ +/* $OpenBSD: uhid.c,v 1.51 2011/01/25 20:03:36 jakemsr Exp $ */ /* $NetBSD: uhid.c,v 1.57 2003/03/11 16:44:00 augustss Exp $ */ /* @@ -195,12 +195,6 @@ uhid_detach(struct device *self, int flags) mn = self->dv_unit; vdevgone(maj, mn, mn, VCHR); -#if 0 - usbd_add_drv_event(USB_EVENT_DRIVER_DETACH, - sc->sc_hdev.sc_parent->sc_udev, - &sc->sc_hdev.sc_dev); -#endif - return (0); } |