diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2017-04-07 10:17:28 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-07 07:03:33 -0700 |
commit | a548779bb7da7d4041dc0015989e319ea4a3ae8a (patch) | |
tree | 62b00168d5e9270d252b427bef9a605021688886 /lib/list_debug.c | |
parent | a73be7fe497915867712fa10e57638caeb11c231 (diff) | |
download | linux-stable-a548779bb7da7d4041dc0015989e319ea4a3ae8a.tar.gz linux-stable-a548779bb7da7d4041dc0015989e319ea4a3ae8a.tar.bz2 linux-stable-a548779bb7da7d4041dc0015989e319ea4a3ae8a.zip |
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>
Diffstat (limited to 'lib/list_debug.c')
0 files changed, 0 insertions, 0 deletions