From: Tobias Klauser Date: Wed, 18 Aug 2010 20:15:04 +0000 (+0000) Subject: ether1: Use net_device_stats from struct net_device X-Git-Tag: v2.6.37-rc1~147^2~786 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25aec76a3bd962f0aae1d7980ab1efa56cb24b43;p=pandora-kernel.git ether1: Use net_device_stats from struct net_device struct net_device has its own struct net_device_stats member, so use this one instead of a private copy in the ether1_priv struct. As the new ndo_get_stats function would just return dev->stats we can omit it. This patch also removes an incorrect memset of the stats on open. Signed-off-by: Tobias Klauser Signed-off-by: David S. Miller --- Reading git-diff-tree failed