diff options
author | Yojiro Uo <yuo@cvs.openbsd.org> | 2010-09-24 08:34:00 +0000 |
---|---|---|
committer | Yojiro Uo <yuo@cvs.openbsd.org> | 2010-09-24 08:34:00 +0000 |
commit | 8894920ec143a1381e301f7c2e93c9a430320b33 (patch) | |
tree | 3ca0a7d7780850ca9a2eccfa99b379f31f38d667 /sys/dev/usb/uvisor.c | |
parent | 2333fd7ebd3c575940690efef14c44e15abef121 (diff) |
remove dying flag in detach() function.
The dying flag will be set in activate()/DEACTIVATE.
ok deraadt@
Diffstat (limited to 'sys/dev/usb/uvisor.c')
-rw-r--r-- | sys/dev/usb/uvisor.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/usb/uvisor.c b/sys/dev/usb/uvisor.c index 754982e8edb..7aaf54d4d3f 100644 --- a/sys/dev/usb/uvisor.c +++ b/sys/dev/usb/uvisor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvisor.c,v 1.41 2010/08/31 16:38:42 deraadt Exp $ */ +/* $OpenBSD: uvisor.c,v 1.42 2010/09/24 08:33:59 yuo Exp $ */ /* $NetBSD: uvisor.c,v 1.21 2003/08/03 21:59:26 nathanw Exp $ */ /* @@ -408,7 +408,6 @@ uvisor_detach(struct device *self, int flags) int i; DPRINTF(("uvisor_detach: sc=%p flags=%d\n", sc, flags)); - sc->sc_dying = 1; for (i = 0; i < sc->sc_numcon; i++) { if (sc->sc_subdevs[i] != NULL) { rv |= config_detach(sc->sc_subdevs[i], flags); |