diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2010-08-09 05:04:34 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-17 02:32:55 -0700 |
commit | 264fd77a67f1a4fe102477d824014459c7ff61f3 (patch) | |
tree | f54820d2e3eed7bf95a3221ac9c950e4f6e76d9d /drivers/net/arm/am79c961a.h | |
parent | 2154c704c7240379fae4633359e06e8df875c1fd (diff) | |
download | op-kernel-dev-264fd77a67f1a4fe102477d824014459c7ff61f3.zip op-kernel-dev-264fd77a67f1a4fe102477d824014459c7ff61f3.tar.gz |
am79c961a: Use net_device_stats from struct net_device
struct net_device has its own struct net_device_stats member, so we can
use this one instead of a private copy in the dev_priv struct.
Cc: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/arm/am79c961a.h')
-rw-r--r-- | drivers/net/arm/am79c961a.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/arm/am79c961a.h b/drivers/net/arm/am79c961a.h index 483009f..fd634d3 100644 --- a/drivers/net/arm/am79c961a.h +++ b/drivers/net/arm/am79c961a.h @@ -130,7 +130,6 @@ #define ISALED0_LNKST 0x8000 struct dev_priv { - struct net_device_stats stats; unsigned long rxbuffer[RX_BUFFERS]; unsigned long txbuffer[TX_BUFFERS]; unsigned char txhead; |