Searched hist:"8 dc43ddc9fe0af3a555af235a69a398c3eba2639" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/net/ethernet/ti/ |
H A D | cpsw.c | diff 8dc43ddc9fe0af3a555af235a69a398c3eba2639 Mon Mar 10 13:12:23 CET 2014 Tobias Klauser <tklauser@distanz.ch> 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>
|