summaryrefslogtreecommitdiffstats
path: root/sys/dev/an/if_an.c
diff options
context:
space:
mode:
authoravatar <avatar@FreeBSD.org>2007-11-27 08:29:24 +0000
committeravatar <avatar@FreeBSD.org>2007-11-27 08:29:24 +0000
commit79ae5fe2e3118ca80a1676e578106913043a6886 (patch)
treed741a4cb3afd0eae1c7e4beb938d228cb2daf231 /sys/dev/an/if_an.c
parentd922652d8ac45bb6420a0137fdf9e2ad502470d5 (diff)
downloadFreeBSD-src-79ae5fe2e3118ca80a1676e578106913043a6886.zip
FreeBSD-src-79ae5fe2e3118ca80a1676e578106913043a6886.tar.gz
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
Diffstat (limited to 'sys/dev/an/if_an.c')
-rw-r--r--sys/dev/an/if_an.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/an/if_an.c b/sys/dev/an/if_an.c
index cc1cdf3..db88e0c 100644
--- a/sys/dev/an/if_an.c
+++ b/sys/dev/an/if_an.c
@@ -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;
OpenPOWER on IntegriCloud