summaryrefslogtreecommitdiff
path: root/sys/dev/usb/uticom.c
diff options
context:
space:
mode:
authorYojiro Uo <yuo@cvs.openbsd.org>2010-09-24 08:34:00 +0000
committerYojiro Uo <yuo@cvs.openbsd.org>2010-09-24 08:34:00 +0000
commit8894920ec143a1381e301f7c2e93c9a430320b33 (patch)
tree3ca0a7d7780850ca9a2eccfa99b379f31f38d667 /sys/dev/usb/uticom.c
parent2333fd7ebd3c575940690efef14c44e15abef121 (diff)
remove dying flag in detach() function.
The dying flag will be set in activate()/DEACTIVATE. ok deraadt@
Diffstat (limited to 'sys/dev/usb/uticom.c')
-rw-r--r--sys/dev/usb/uticom.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/usb/uticom.c b/sys/dev/usb/uticom.c
index 534a8dad254..1cf329106b4 100644
--- a/sys/dev/usb/uticom.c
+++ b/sys/dev/usb/uticom.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uticom.c,v 1.4 2009/10/13 19:33:19 pirofti Exp $ */
+/* $OpenBSD: uticom.c,v 1.5 2010/09/24 08:33:59 yuo Exp $ */
/*
* Copyright (c) 2005 Dmitry Komissaroff <dxi@mail.ru>.
*
@@ -466,7 +466,6 @@ uticom_detach(struct device *self, int flags)
DPRINTF(("%s: uticom_detach: sc = %p\n",
sc->sc_dev.dv_xname, sc));
- sc->sc_dying = 1;
if (sc->sc_subdev != NULL) {
config_detach(sc->sc_subdev, flags);