net-next plumbings
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-10-20 09:48:22 +0200
committerTobias Klauser <tklauser@distanz.ch>2017-02-15 10:34:18 +0100
commitd6e0edf1ff6b97425d9548f27385ac7b4921f5a0 (patch)
treeec93f4babfd9526532032b7a726ff6c335322741
parentc8fd4cbd9df8d1353c76a84cb5439fb217eb32df (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>