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/if_cdce.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/if_cdce.c')
-rw-r--r-- | sys/dev/usb/if_cdce.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/usb/if_cdce.c b/sys/dev/usb/if_cdce.c index 2e91ec8c0bb..5af1b42e044 100644 --- a/sys/dev/usb/if_cdce.c +++ b/sys/dev/usb/if_cdce.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_cdce.c,v 1.48 2011/01/16 22:35:29 jakemsr Exp $ */ +/* $OpenBSD: if_cdce.c,v 1.49 2011/01/25 20:03:35 jakemsr Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000-2003 Bill Paul <wpaul@windriver.com> @@ -360,9 +360,6 @@ found: sc->cdce_attached = 1; splx(s); - - usbd_add_drv_event(USB_EVENT_DRIVER_ATTACH, sc->cdce_udev, - &sc->cdce_dev); } int @@ -388,9 +385,6 @@ cdce_detach(struct device *self, int flags) sc->cdce_attached = 0; splx(s); - usbd_add_drv_event(USB_EVENT_DRIVER_DETACH, sc->cdce_udev, - &sc->cdce_dev); - return (0); } |