aboutsummaryrefslogtreecommitdiff
path: root/sys/geom/gate
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2005-02-16 16:13:56 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2005-02-16 16:13:56 +0000
commitccbef85dd05b83f44866bd3fd95bcef9d2791bbf (patch)
tree9ef183d3ad3022df22a7e7ced89b49726c02ebd7 /sys/geom/gate
parentf9065812965a6ec67402a375e7e71f3474375be8 (diff)
downloadsrc-ccbef85dd05b83f44866bd3fd95bcef9d2791bbf.tar.gz
src-ccbef85dd05b83f44866bd3fd95bcef9d2791bbf.zip
Remove mutex asserion from g_gate_find(). We don't want g_gate_list_mtx
mutex to be held here, because we want speed here.
Notes
Notes: svn path=/head/; revision=141973
Diffstat (limited to 'sys/geom/gate')
-rw-r--r--sys/geom/gate/g_gate.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/geom/gate/g_gate.c b/sys/geom/gate/g_gate.c
index b1f665fadc63..c1b42c4410ac 100644
--- a/sys/geom/gate/g_gate.c
+++ b/sys/geom/gate/g_gate.c
@@ -235,7 +235,6 @@ g_gate_find(u_int unit)
{
struct g_gate_softc *sc;
- mtx_assert(&g_gate_list_mtx, MA_OWNED);
LIST_FOREACH(sc, &g_gate_list, sc_next) {
if (sc->sc_unit == unit)
break;