commit | 8dc43ddc9fe0af3a555af235a69a398c3eba2639 | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Mon Mar 10 13:12:23 2014 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 10 21:53:01 2014 -0400 |
tree | 42e458d4c673350dc9ebee4d1e17f2ce776368b0 | |
parent | d32d9bb85c65f52bed99a0149b47e9f6578c44c5 [diff] |
net: eth: cpsw: Use net_device_stats from struct net_device Instead of using an own copy of struct net_device_stats in struct cpsw_priv, use stats from struct net_device. Also remove the thus unnecessary .ndo_get_stats function, as it just returns dev->stats, which is the default. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Acked-by: Mugunthan V N <mugunthanvnm@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>