PERFORCE change 129048 for review

Tai-hwa Liang avatar at FreeBSD.org
Tue Nov 13 20:05:55 PST 2007


http://perforce.freebsd.org/chv.cgi?CH=129048

Change 129048 by avatar at avatar_t40 on 2007/11/14 04:04:53

	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
	MFP4 after:	1 day

Affected files ...

.. //depot/projects/wifi/sys/dev/an/if_an.c#22 edit

Differences ...

==== //depot/projects/wifi/sys/dev/an/if_an.c#22 (text+ko) ====

@@ -1153,10 +1153,6 @@
 	struct ifnet		*ifp;
 
 	sc = xsc;
-	if (sc->an_gone) {
-		return;
-	}
-
 	AN_LOCK_ASSERT(sc);
 	ifp = sc->an_ifp;
 


More information about the p4-projects mailing list