MFP4(129048): Eliminating an unnecessary check on an_gone inside

an_stats_update() since a properly locked callout_stop(9) does do the
right thing.

Reviewed by:	ambrisko, jhb
MFC after:	3 days
This commit is contained in:
Tai-hwa Liang 2007-11-27 08:29:24 +00:00
parent fe154e087f
commit 8c81b154da

View File

@ -1153,10 +1153,6 @@ an_stats_update(void *xsc)
struct ifnet *ifp;
sc = xsc;
if (sc->an_gone) {
return;
}
AN_LOCK_ASSERT(sc);
ifp = sc->an_ifp;