From 498cf2dc36fa36de9644663ecf827002dd1d0d42 Mon Sep 17 00:00:00 2001 From: Jacob Meuser Date: Tue, 25 Jan 2011 20:03:37 +0000 Subject: 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@ --- sys/dev/usb/if_axe.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'sys/dev/usb/if_axe.c') 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 @@ -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); } -- cgit v1.2.3