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/udl.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/udl.c')
| -rw-r--r-- | sys/dev/usb/udl.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/usb/udl.c b/sys/dev/usb/udl.c index ad853bd481b..7fec77332f2 100644 --- a/sys/dev/usb/udl.c +++ b/sys/dev/usb/udl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udl.c,v 1.66 2010/12/27 03:03:50 jakemsr Exp $ */ +/* $OpenBSD: udl.c,v 1.67 2011/01/25 20:03:36 jakemsr Exp $ */ /* * Copyright (c) 2009 Marcus Glocker <mglocker@openbsd.org> @@ -389,8 +389,6 @@ udl_attach(struct device *parent, struct device *self, void *aux) sc->sc_wsdisplay = config_found(self, &aa, wsemuldisplaydevprint); - usbd_add_drv_event(USB_EVENT_DRIVER_ATTACH, sc->sc_udev, &sc->sc_dev); - /* * Load Huffman table. */ @@ -479,8 +477,6 @@ udl_detach(struct device *self, int flags) if (sc->sc_wsdisplay != NULL) config_detach(sc->sc_wsdisplay, DETACH_FORCE); - usbd_add_drv_event(USB_EVENT_DRIVER_DETACH, sc->sc_udev, &sc->sc_dev); - return (0); } |
