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

Simple merge