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/ubt.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/ubt.c')
-rw-r--r-- | sys/dev/usb/ubt.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/usb/ubt.c b/sys/dev/usb/ubt.c index 21482e8338c..d2ae4ef2b02 100644 --- a/sys/dev/usb/ubt.c +++ b/sys/dev/usb/ubt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ubt.c,v 1.18 2010/08/31 16:20:48 deraadt Exp $ */ +/* $OpenBSD: ubt.c,v 1.19 2010/09/24 08:33:59 yuo Exp $ */ /* $NetBSD: ubt.c,v 1.35 2008/07/28 14:19:26 drochner Exp $ */ /*- @@ -460,8 +460,6 @@ ubt_detach(struct device *self, int flags) /* XXX pmf_device_deregister in NetBSD (power hook) */ - sc->sc_dying = 1; - if (!sc->sc_ok) return 0; |