aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/arc/emac.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-07-09 11:07:37 +0200
committerDavid S. Miller <davem@davemloft.net>2014-07-09 16:48:35 -0700
commitff458f6f1e464ee5239bcf37af4028c01d0ccf45 (patch)
treee0597ddb6c55d1ff482410d128ada9595af2b9fe /drivers/net/ethernet/arc/emac.h
parentipconfig: move ic_dev_xid under IPCONFIG_BOOTP (diff)
downloadlinux-dev-ff458f6f1e464ee5239bcf37af4028c01d0ccf45.tar.xz
linux-dev-ff458f6f1e464ee5239bcf37af4028c01d0ccf45.zip
arc_emac: Use net_device_stats from struct net_device
Instead of using a private copy of struct net_device_stats in struct arc_emac_priv, use stats from struct net_device. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/arc/emac.h')
-rw-r--r--drivers/net/ethernet/arc/emac.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/arc/emac.h b/drivers/net/ethernet/arc/emac.h
index 53f85bf71526..8e7c1a101af7 100644
--- a/drivers/net/ethernet/arc/emac.h
+++ b/drivers/net/ethernet/arc/emac.h
@@ -110,7 +110,6 @@ struct buffer_state {
* @bus: Pointer to the current MII bus.
* @regs: Base address of EMAC memory-mapped control registers.
* @napi: Structure for NAPI.
- * @stats: Network device statistics.
* @rxbd: Pointer to Rx BD ring.
* @txbd: Pointer to Tx BD ring.
* @rxbd_dma: DMA handle for Rx BD ring.
@@ -135,7 +134,6 @@ struct arc_emac_priv {
struct clk *clk;
struct napi_struct napi;
- struct net_device_stats stats;
struct arc_emac_bd *rxbd;
struct arc_emac_bd *txbd;