diff options
author | 2011-01-25 20:03:35 +0000 | |
---|---|---|
committer | 2011-01-25 20:03:35 +0000 | |
commit | 0036ea2d1806ab014533b49d25d9fbdde380400e (patch) | |
tree | b9ab38f34f0a65c8eaea6640215a6a79c0d12cba /sys/dev/usb/if_kue.c | |
parent | Don't ignore copyout() return value in sys_thrsleep(). (diff) | |
download | wireguard-openbsd-0036ea2d1806ab014533b49d25d9fbdde380400e.tar.xz wireguard-openbsd-0036ea2d1806ab014533b49d25d9fbdde380400e.zip |
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_kue.c')
-rw-r--r-- | sys/dev/usb/if_kue.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/usb/if_kue.c b/sys/dev/usb/if_kue.c index 43cc076aab4..f989a438838 100644 --- a/sys/dev/usb/if_kue.c +++ b/sys/dev/usb/if_kue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_kue.c,v 1.62 2010/12/17 13:48:06 jasper Exp $ */ +/* $OpenBSD: if_kue.c,v 1.63 2011/01/25 20:03:35 jakemsr Exp $ */ /* $NetBSD: if_kue.c,v 1.50 2002/07/16 22:00:31 augustss Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000 @@ -543,9 +543,6 @@ kue_attach(struct device *parent, struct device *self, void *aux) mountroothook_establish(kue_attachhook, sc); else kue_attachhook(sc); - - usbd_add_drv_event(USB_EVENT_DRIVER_ATTACH, sc->kue_udev, - &sc->kue_dev); } int |