diff options
author | Tobias Klauser | 2017-04-07 10:17:28 +0200 |
---|---|---|
committer | David S. Miller | 2017-04-07 16:03:33 +0200 |
commit | a548779bb7da7d4041dc0015989e319ea4a3ae8a (patch) | |
tree | 62b00168d5e9270d252b427bef9a605021688886 /drivers/net/ethernet/ibm/emac | |
parent | net: cxgb3: Use net_device_stats from struct net_device (diff) | |
download | kernel-qcow2-linux-a548779bb7da7d4041dc0015989e319ea4a3ae8a.tar.gz kernel-qcow2-linux-a548779bb7da7d4041dc0015989e319ea4a3ae8a.tar.xz kernel-qcow2-linux-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 'drivers/net/ethernet/ibm/emac')
0 files changed, 0 insertions, 0 deletions