summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_uath.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_uath.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_uath.c')
-rw-r--r--sys/dev/usb/if_uath.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/usb/if_uath.c b/sys/dev/usb/if_uath.c
index 5a3b5748a16..cd79e4d327d 100644
--- a/sys/dev/usb/if_uath.c
+++ b/sys/dev/usb/if_uath.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_uath.c,v 1.48 2011/01/06 19:49:58 damien Exp $ */
+/* $OpenBSD: if_uath.c,v 1.49 2011/01/25 20:03:35 jakemsr Exp $ */
/*-
* Copyright (c) 2006
@@ -416,9 +416,6 @@ uath_attach(struct device *parent, struct device *self, void *aux)
sc->sc_txtap.wt_ihdr.it_present = htole32(UATH_TX_RADIOTAP_PRESENT);
#endif
- usbd_add_drv_event(USB_EVENT_DRIVER_ATTACH, sc->sc_udev,
- &sc->sc_dev);
-
return;
fail4: uath_free_tx_data_list(sc);
@@ -467,9 +464,6 @@ uath_detach(struct device *self, int flags)
splx(s);
- usbd_add_drv_event(USB_EVENT_DRIVER_DETACH, sc->sc_udev,
- &sc->sc_dev);
-
return 0;
}