at91_ether: use netstats in net_device structure
Use net_device_stats from net_device structure instead of local. Signed-off-by: Paulius Zaleckas <paulius.zaleckas@teltonika.lt> Tested-by: Marc Pignat <marc.pignat@hevs.ch> Acked-by: Andrew Victor <linux@maxim.org.za> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:

committed by
Jeff Garzik

parent
aa6ef27ea9
commit
7a2f53ee0b
@@ -84,7 +84,6 @@ struct recv_desc_bufs
|
||||
|
||||
struct at91_private
|
||||
{
|
||||
struct net_device_stats stats;
|
||||
struct mii_if_info mii; /* ethtool support */
|
||||
struct at91_eth_data board_data; /* board-specific configuration */
|
||||
struct clk *ether_clk; /* clock */
|
||||
|
Reference in New Issue
Block a user