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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=173975

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;