Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Nov 2007 04:05:54 GMT
From:      Tai-hwa Liang <avatar@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 129048 for review
Message-ID:  <200711140405.lAE45sD3001681@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=129048

Change 129048 by avatar@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;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711140405.lAE45sD3001681>