summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_axe.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_axe.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_axe.c')
-rw-r--r--sys/dev/usb/if_axe.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/usb/if_axe.c b/sys/dev/usb/if_axe.c
index 9420b0376c1..559c19a9b02 100644
--- a/sys/dev/usb/if_axe.c
+++ b/sys/dev/usb/if_axe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_axe.c,v 1.104 2010/12/06 04:41:39 jakemsr Exp $ */
+/* $OpenBSD: if_axe.c,v 1.105 2011/01/25 20:03:35 jakemsr Exp $ */
/*
* Copyright (c) 2005, 2006, 2007 Jonathan Gray <jsg@openbsd.org>
@@ -814,9 +814,6 @@ axe_attach(struct device *parent, struct device *self, void *aux)
timeout_set(&sc->axe_stat_ch, axe_tick, sc);
splx(s);
-
- usbd_add_drv_event(USB_EVENT_DRIVER_ATTACH, sc->axe_udev,
- &sc->axe_dev);
}
int
@@ -876,9 +873,6 @@ axe_detach(struct device *self, int flags)
}
splx(s);
- usbd_add_drv_event(USB_EVENT_DRIVER_DETACH, sc->axe_udev,
- &sc->axe_dev);
-
return (0);
}