diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2014-07-09 11:07:37 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-09 16:48:35 -0700 |
commit | ff458f6f1e464ee5239bcf37af4028c01d0ccf45 (patch) | |
tree | e0597ddb6c55d1ff482410d128ada9595af2b9fe /drivers/net/ethernet/arc/emac.h | |
parent | 21621e93f24b5f8de8262ace269a5f692a826bed (diff) | |
download | blackbird-obmc-linux-ff458f6f1e464ee5239bcf37af4028c01d0ccf45.tar.gz blackbird-obmc-linux-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.h | 2 |
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; |