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:
parent
fe154e087f
commit
8c81b154da
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user