]> git.baikalelectronics.ru Git - kernel.git/commit
net: sunbmac: Use net_device_stats from struct net_device
authorTobias Klauser <tklauser@distanz.ch>
Fri, 7 Apr 2017 08:17:34 +0000 (10:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Apr 2017 14:03:33 +0000 (07:03 -0700)
commit9be31c30c5e3f63e36f4a102c6a0b2b685b0f37c
tree5da6554578013281b2fa699cab698c11f0ce1225
parent7ec02ed0b0fe815fe79feb96451d6e449839a8f0
net: sunbmac: Use net_device_stats from struct net_device

Instead of using a private copy of struct net_device_stats in struct
bigmac, 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/sun/sunbmac.c
drivers/net/ethernet/sun/sunbmac.h