if_bridge(4): Drop pointless rtflush

At this point, all routes should've already been dropped by removing all
members from the bridge. This condition is in-fact KASSERT'd in the line
immediately above where this nop flush was added.
This commit is contained in:
kevans 2019-03-15 17:19:36 +00:00
parent a12e4ab175
commit 07c7181f1b

View File

@ -2890,7 +2890,6 @@ bridge_rtable_fini(struct bridge_softc *sc)
KASSERT(sc->sc_brtcnt == 0,
("%s: %d bridge routes referenced", __func__, sc->sc_brtcnt));
bridge_rtflush(sc, 1);
free(sc->sc_rthash, M_DEVBUF);
}