summaryrefslogtreecommitdiffstats
path: root/sys/dev/hme
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2006-12-04 01:53:40 +0000
committermarius <marius@FreeBSD.org>2006-12-04 01:53:40 +0000
commitb8cec56d0ec246bc075ce188197a5b13eadb1b67 (patch)
treea4c6e1de1b40bd0762cebf8c63879cf52443af16 /sys/dev/hme
parenta7225be573460da3c47edc67365edc182be54162 (diff)
downloadFreeBSD-src-b8cec56d0ec246bc075ce188197a5b13eadb1b67.zip
FreeBSD-src-b8cec56d0ec246bc075ce188197a5b13eadb1b67.tar.gz
Remove the HME_LOCK_ASSERT() in hme_mifinit(), which was added in the
previous revision; it's actually ok when invoking hme_mifinit() from hme_config() without the lock held.
Diffstat (limited to 'sys/dev/hme')
-rw-r--r--sys/dev/hme/if_hme.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/hme/if_hme.c b/sys/dev/hme/if_hme.c
index 61b021f..011d3e9 100644
--- a/sys/dev/hme/if_hme.c
+++ b/sys/dev/hme/if_hme.c
@@ -1354,7 +1354,6 @@ hme_mifinit(struct hme_softc *sc)
{
u_int32_t v;
- HME_LOCK_ASSERT(sc, MA_OWNED);
/*
* Configure the MIF in frame mode, polling disabled, internal PHY
* selected.
OpenPOWER on IntegriCloud