mirror of
https://github.com/opnsense/src.git
synced 2026-04-20 21:59:20 -04:00
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
1 changed files with 0 additions and 4 deletions
|
|
@ -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 a new issue