summaryrefslogtreecommitdiffstats
path: root/sys/dev/if_ndis
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2005-10-11 21:31:23 +0000
committerwpaul <wpaul@FreeBSD.org>2005-10-11 21:31:23 +0000
commitcf228658f5322a62f8c3d73852824101877103e3 (patch)
treebda0490aa35731a284cef7752e6e3085744cbc9a /sys/dev/if_ndis
parentcf4406c1aad2a5376c68a3a05b83831476520440 (diff)
downloadFreeBSD-src-cf228658f5322a62f8c3d73852824101877103e3.zip
FreeBSD-src-cf228658f5322a62f8c3d73852824101877103e3.tar.gz
Fix build: remove stale KASSERT() for mutex that no longer exists.
Diffstat (limited to 'sys/dev/if_ndis')
-rw-r--r--sys/dev/if_ndis/if_ndis.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/if_ndis/if_ndis.c b/sys/dev/if_ndis/if_ndis.c
index 9b864ac..5ec5dc8 100644
--- a/sys/dev/if_ndis/if_ndis.c
+++ b/sys/dev/if_ndis/if_ndis.c
@@ -917,8 +917,6 @@ ndis_detach(dev)
driver_object *drv;
sc = device_get_softc(dev);
- KASSERT(mtx_initialized(&sc->ndis_mtx),
- ("ndis mutex not initialized"));
NDIS_LOCK(sc);
ifp = sc->ifp;
ifp->if_flags &= ~IFF_UP;
OpenPOWER on IntegriCloud