commit | a548779bb7da7d4041dc0015989e319ea4a3ae8a | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Fri Apr 07 10:17:28 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri Apr 07 07:03:33 2017 -0700 |
tree | 62b00168d5e9270d252b427bef9a605021688886 | |
parent | a73be7fe497915867712fa10e57638caeb11c231 [diff] |
net: dl2k: Use net_device_stats from struct net_device Instead of using a private copy of struct net_device_stats in struct netdev_private, use stats from struct net_device. Also remove the now unnecessary .ndo_get_stats function and the #ifdef'ed increment of the collisions16 counter which doesn't exist in struct net_device_stats. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: David S. Miller <davem@davemloft.net>