diff options
author | jmg <jmg@FreeBSD.org> | 2004-09-20 06:33:37 +0000 |
---|---|---|
committer | jmg <jmg@FreeBSD.org> | 2004-09-20 06:33:37 +0000 |
commit | eb8d1df7fd4a0747cea0e2ff51742866b5537475 (patch) | |
tree | 704c425f16d16a4693bb756ff6649eb1065ba9b0 /sys/dev/re | |
parent | 9ee28251177e93c5acc68b1b2fc030fa01f49769 (diff) | |
download | FreeBSD-src-eb8d1df7fd4a0747cea0e2ff51742866b5537475.zip FreeBSD-src-eb8d1df7fd4a0747cea0e2ff51742866b5537475.tar.gz |
trim trailing white space..
call the re mutex by it's name..
MFC after: 3 days
Diffstat (limited to 'sys/dev/re')
-rw-r--r-- | sys/dev/re/if_re.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/re/if_re.c b/sys/dev/re/if_re.c index 214fa18..e415557 100644 --- a/sys/dev/re/if_re.c +++ b/sys/dev/re/if_re.c @@ -1252,7 +1252,7 @@ re_detach(dev) sc = device_get_softc(dev); ifp = &sc->arpcom.ac_if; - KASSERT(mtx_initialized(&sc->rl_mtx), ("rl mutex not initialized")); + KASSERT(mtx_initialized(&sc->rl_mtx), ("re mutex not initialized")); attached = device_is_attached(dev); /* These should only be active if attach succeeded */ @@ -1733,7 +1733,7 @@ re_poll_locked(struct ifnet *ifp, enum poll_cmd cmd, int count) struct rl_softc *sc = ifp->if_softc; RL_LOCK_ASSERT(sc); - + if (!(ifp->if_capenable & IFCAP_POLLING)) { ether_poll_deregister(ifp); cmd = POLL_DEREGISTER; |