aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/arm/ether1.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2010-08-18 16:15:04 -0400
committerDavid S. Miller <davem@davemloft.net>2010-08-19 03:12:38 -0400
commit25aec76a3bd962f0aae1d7980ab1efa56cb24b43 (patch)
tree5eaf9b0c69027f9ae617f23513808c05968e154a /drivers/net/arm/ether1.h
parent2244d07bfa2097cb00600da91c715a8aa547917e (diff)
ether1: 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 'drivers/net/arm/ether1.h')
-rw-r--r--drivers/net/arm/ether1.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/arm/ether1.h b/drivers/net/arm/ether1.h
index c8a4b2389d8..3a5830ab3dc 100644
--- a/drivers/net/arm/ether1.h
+++ b/drivers/net/arm/ether1.h
@@ -38,7 +38,6 @@
38 38
39struct ether1_priv { 39struct ether1_priv {
40 void __iomem *base; 40 void __iomem *base;
41 struct net_device_stats stats;
42 unsigned int tx_link; 41 unsigned int tx_link;
43 unsigned int tx_head; 42 unsigned int tx_head;
44 volatile unsigned int tx_tail; 43 volatile unsigned int tx_tail;