diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2016-10-20 09:48:22 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2017-02-15 10:34:18 +0100 |
commit | d6e0edf1ff6b97425d9548f27385ac7b4921f5a0 (patch) | |
tree | ec93f4babfd9526532032b7a726ff6c335322741 | |
parent | c8fd4cbd9df8d1353c76a84cb5439fb217eb32df (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>