]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaeb6c3e6a3f8ed16e99d8f2242be36f131018a0f
treee0597ddb6c55d1ff482410d128ada9595af2b9fe
parent9ea66438c6cf1e5a9c0593f14577c55e784bd886
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