summaryrefslogtreecommitdiff
path: root/sys/dev/usb/umbg.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/umbg.c')
-rw-r--r--sys/dev/usb/umbg.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/usb/umbg.c b/sys/dev/usb/umbg.c
index d88ca94a1e1..e5724f9fe06 100644
--- a/sys/dev/usb/umbg.c
+++ b/sys/dev/usb/umbg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: umbg.c,v 1.11 2009/11/21 14:30:35 deraadt Exp $ */
+/* $OpenBSD: umbg.c,v 1.12 2010/09/24 08:33:59 yuo Exp $ */
/*
* Copyright (c) 2007 Marc Balmer <mbalmer@openbsd.org>
@@ -296,8 +296,6 @@ umbg_detach(struct device *self, int flags)
struct umbg_softc *sc = (struct umbg_softc *)self;
usbd_status err;
- sc->sc_dying = 1;
-
timeout_del(&sc->sc_to);
timeout_del(&sc->sc_it_to);