arc_emac: Use net_device_stats from struct net_device
authorTobias Klauser <tklauser@distanz.ch>
Wed, 9 Jul 2014 09:07:37 +0000 (11:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Jul 2014 23:48:35 +0000 (16:48 -0700)
commitff458f6f1e464ee5239bcf37af4028c01d0ccf45
treee0597ddb6c55d1ff482410d128ada9595af2b9fe
parent21621e93f24b5f8de8262ace269a5f692a826bed
arc_emac: Use net_device_stats from struct net_device

Instead of using a private copy of struct net_device_stats in struct
arc_emac_priv, use stats from struct net_device.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/arc/emac.h
drivers/net/ethernet/arc/emac_main.c