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

Instead of using a private copy of struct net_device_stats in struct
typhoon, 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/3com/typhoon.c