Remove two lock asserts that are unneeded due to subsequent unlocks.

This commit is contained in:
Andrew Thompson 2006-08-17 10:52:36 +00:00
parent b34b8d6783
commit ff2cdcff19
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=161403

View file

@ -1879,7 +1879,6 @@ bridge_forward(struct bridge_softc *sc, struct mbuf *m)
struct ether_header *eh;
src_if = m->m_pkthdr.rcvif;
BRIDGE_LOCK_ASSERT(sc);
ifp = sc->sc_ifp;
sc->sc_ifp->if_ipackets++;
@ -2225,7 +2224,6 @@ bridge_broadcast(struct bridge_softc *sc, struct ifnet *src_if,
struct ifnet *dst_if;
int error = 0, used = 0, i;
BRIDGE_LOCK_ASSERT(sc);
BRIDGE_LOCK2REF(sc, error);
if (error) {
m_freem(m);