summaryrefslogtreecommitdiffstats
path: root/sys/dev/md
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-10-23 20:50:06 +0000
committerphk <phk@FreeBSD.org>2004-10-23 20:50:06 +0000
commitc93e5e1f963975553cd68dc0100ed6536d97461a (patch)
tree8a83bb28a250c1c717129be443c1cec5171f7bb2 /sys/dev/md
parent93429f2778c1eefb93458add0ccaaa0b4e7dc6dc (diff)
downloadFreeBSD-src-c93e5e1f963975553cd68dc0100ed6536d97461a.zip
FreeBSD-src-c93e5e1f963975553cd68dc0100ed6536d97461a.tar.gz
Don't explicitly call g_waitidle(), it happens automagically now.
Diffstat (limited to 'sys/dev/md')
-rw-r--r--sys/dev/md/md.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c
index d8795c3..22e4a11 100644
--- a/sys/dev/md/md.c
+++ b/sys/dev/md/md.c
@@ -748,8 +748,6 @@ mdinit(struct md_s *sc)
sc->pp = pp;
g_error_provider(pp, 0);
g_topology_unlock();
- if (sc->type != MD_PRELOAD)
- g_waitidle();
PICKUP_GIANT();
}
OpenPOWER on IntegriCloud