diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2014-03-10 13:12:23 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-10 21:53:01 -0400 |
commit | 8dc43ddc9fe0af3a555af235a69a398c3eba2639 (patch) | |
tree | 42e458d4c673350dc9ebee4d1e17f2ce776368b0 /drivers/net/sungem_phy.c | |
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>
Diffstat (limited to 'drivers/net/sungem_phy.c')
0 files changed, 0 insertions, 0 deletions