summaryrefslogtreecommitdiffstats
path: root/net/atm
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2010-08-18 22:15:31 +0200
committerDavid S. Miller <davem@davemloft.net>2010-08-19 09:12:38 +0200
commitbb2537f1e76b3fb18c3fc1dff1df98ebc10af633 (patch)
tree7c74a9ededc35cbc5ce4446911da1e10ca1598a4 /net/atm
parentether1: Use net_device_stats from struct net_device (diff)
downloadlinux-bb2537f1e76b3fb18c3fc1dff1df98ebc10af633.tar.xz
linux-bb2537f1e76b3fb18c3fc1dff1df98ebc10af633.zip
ether3: Use net_device_stats from struct net_device
struct net_device has its own struct net_device_stats member, so use this one instead of a private copy in the ether1_priv struct. As the new ndo_get_stats function would just return dev->stats we can omit it. This patch also removes an incorrect memset of the stats on open. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm')
0 files changed, 0 insertions, 0 deletions