net: eth: cpsw: Use net_device_stats from struct net_device
commit8dc43ddc9fe0af3a555af235a69a398c3eba2639
authorTobias Klauser <tklauser@distanz.ch>
Mon, 10 Mar 2014 12:12:23 +0000 (10 13:12 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Mar 2014 01:53:01 +0000 (10 21:53 -0400)
tree42e458d4c673350dc9ebee4d1e17f2ce776368b0
parentd32d9bb85c65f52bed99a0149b47e9f6578c44c5
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>
drivers/net/ethernet/ti/cpsw.c