mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-03 23:28:58 +00: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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=173975
|
@ -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