summaryrefslogtreecommitdiff
path: root/sys/dev/hatm
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2004-02-29 09:26:01 +0000
committerScott Long <scottl@FreeBSD.org>2004-02-29 09:26:01 +0000
commit474e30f0b1d6d570a307e1b96d5f06a156fde80f (patch)
treefd6e8d3b7da7419d53c635ba6dacaf83fe4c2400 /sys/dev/hatm
parent77585df415cbebe341f3ba941521d1c5e936e453 (diff)
Notes
Diffstat (limited to 'sys/dev/hatm')
-rw-r--r--sys/dev/hatm/if_hatm.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/dev/hatm/if_hatm.c b/sys/dev/hatm/if_hatm.c
index a411d061caa2..80c8ff09215a 100644
--- a/sys/dev/hatm/if_hatm.c
+++ b/sys/dev/hatm/if_hatm.c
@@ -2312,13 +2312,8 @@ hatm_stop(struct hatm_softc *sc)
* Give any waiters on closing a VCC a chance. They will stop
* to wait if they see that IFF_RUNNING disappeared.
*/
- while (!(cv_waitq_empty(&sc->vcc_cv))) {
- cv_broadcast(&sc->vcc_cv);
- DELAY(100);
- }
- while (!(cv_waitq_empty(&sc->cv_rcclose))) {
- cv_broadcast(&sc->cv_rcclose);
- }
+ cv_broadcast(&sc->vcc_cv);
+ cv_broadcast(&sc->cv_rcclose);
/*
* Now free all resources.