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

Instead of using a private copy of struct net_device_stats in struct
_mace_private, 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/amd/nmclan_cs.c