From: Eric Dumazet Date: Sun, 19 Jun 2011 20:07:46 +0000 (+0000) Subject: myricom: remove stats_lock X-Git-Tag: v3.1-rc1~316^2~411 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=306ff6eb8e9c18bcafb8ca5be4be3c78dfe45475;p=pandora-kernel.git myricom: remove stats_lock stats_lock is non useless, lets remove it. Also, ndo_get_stats64() doesnt have to clear the stats, caller takes care of this. Note: folding 32bit fields in 64bit one is problematic when one of 32bit values wraps : SNMP reader will see a ~2^32 back change in a 64bit value. A future patch should fix this. Signed-off-by: Eric Dumazet CC: Stephen Hemminger CC: Andrew Gallatin CC: Brice Goglin Acked-by: Jon Mason Signed-off-by: David S. Miller --- Reading git-diff-tree failed