summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_url.c
diff options
context:
space:
mode:
authorJacob Meuser <jakemsr@cvs.openbsd.org>2011-01-25 20:03:37 +0000
committerJacob Meuser <jakemsr@cvs.openbsd.org>2011-01-25 20:03:37 +0000
commit498cf2dc36fa36de9644663ecf827002dd1d0d42 (patch)
tree01605ac7fc47161753494c6101154a0e366cd607 /sys/dev/usb/if_url.c
parent412272acee23634745871fe5ba77ee2bfd896951 (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_url.c')
-rw-r--r--sys/dev/usb/if_url.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/dev/usb/if_url.c b/sys/dev/usb/if_url.c
index ff4a10df4b3..af6381b5fa6 100644
--- a/sys/dev/usb/if_url.c
+++ b/sys/dev/usb/if_url.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_url.c,v 1.60 2010/12/06 04:41:39 jakemsr Exp $ */
+/* $OpenBSD: if_url.c,v 1.61 2011/01/25 20:03:35 jakemsr Exp $ */
/* $NetBSD: if_url.c,v 1.6 2002/09/29 10:19:21 martin Exp $ */
/*
* Copyright (c) 2001, 2002
@@ -318,8 +318,6 @@ url_attach(struct device *parent, struct device *self, void *aux)
splx(s);
- usbd_add_drv_event(USB_EVENT_DRIVER_ATTACH, dev, &sc->sc_dev);
-
return;
bad:
@@ -374,9 +372,6 @@ url_detach(struct device *self, int flags)
splx(s);
- usbd_add_drv_event(USB_EVENT_DRIVER_DETACH, sc->sc_udev,
- &sc->sc_dev);
-
return (0);
}