ether3: Use net_device_stats from struct net_device
authorTobias Klauser <tklauser@distanz.ch>
Wed, 18 Aug 2010 20:15:31 +0000 (20:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Aug 2010 07:12:38 +0000 (00:12 -0700)
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 <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found