summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-04-07 11:17:28 +0300
committerDavid S. Miller <davem@davemloft.net>2017-04-07 17:03:33 +0300
commita548779bb7da7d4041dc0015989e319ea4a3ae8a (patch)
tree62b00168d5e9270d252b427bef9a605021688886 /tools/perf/scripts/python
parenta73be7fe497915867712fa10e57638caeb11c231 (diff)
downloadlinux-a548779bb7da7d4041dc0015989e319ea4a3ae8a.tar.xz
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions