[PATCH v4] ether3: Use net_device_stats from struct net_device
David Miller
davem at davemloft.net
Thu Aug 19 03:13:03 EDT 2010
From: Tobias Klauser <tklauser at distanz.ch>
Date: Thu, 19 Aug 2010 08:15:31 +0200
> 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 at distanz.ch>
> ---
Applied, thanks.
More information about the linux-arm-kernel
mailing list