commit | 25aec76a3bd962f0aae1d7980ab1efa56cb24b43 | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Wed Aug 18 20:15:04 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Aug 19 00:12:38 2010 -0700 |
tree | 5eaf9b0c69027f9ae617f23513808c05968e154a | |
parent | 2244d07bfa2097cb00600da91c715a8aa547917e [diff] |
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 <tklauser@distanz.ch> Signed-off-by: David S. Miller <davem@davemloft.net>