summaryrefslogtreecommitdiff
path: root/sys/dev/usb/uhid.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/uhid.c')
-rw-r--r--sys/dev/usb/uhid.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/usb/uhid.c b/sys/dev/usb/uhid.c
index 3bf6476e824..8eec7c7c064 100644
--- a/sys/dev/usb/uhid.c
+++ b/sys/dev/usb/uhid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uhid.c,v 1.49 2010/08/02 23:17:34 miod Exp $ */
+/* $OpenBSD: uhid.c,v 1.50 2010/09/24 08:33:59 yuo Exp $ */
/* $NetBSD: uhid.c,v 1.57 2003/03/11 16:44:00 augustss Exp $ */
/*
@@ -175,8 +175,6 @@ uhid_detach(struct device *self, int flags)
DPRINTF(("uhid_detach: sc=%p flags=%d\n", sc, flags));
- sc->sc_dying = 1;
-
if (sc->sc_hdev.sc_state & UHIDEV_OPEN) {
s = splusb();
if (--sc->sc_refcnt >= 0) {