diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2017-03-27 08:55:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-27 16:01:59 -0700 |
commit | 8570bcd83d9a13f5319a174137ff3cb69735c135 (patch) | |
tree | c19ddb23c0f7ea7857438958eb9994383287fbc8 | |
parent | eb996edb03a665d038de7bc318182412e44c52f9 (diff) | |
download | op-kernel-dev-8570bcd83d9a13f5319a174137ff3cb69735c135.zip op-kernel-dev-8570bcd83d9a13f5319a174137ff3cb69735c135.tar.gz |
net: bfin_mac: Remove unused stats member from struct bfin_mac_local
The bfin_mac driver keeps its statistics in net_device->stats, so the
stats member in struct bfin_mac_local is unused. Remove it, as well as
the accompanying comment.
Cc: adi-buildroot-devel@lists.sourceforge.net
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/adi/bfin_mac.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/ethernet/adi/bfin_mac.h b/drivers/net/ethernet/adi/bfin_mac.h index 8c3b561..4ad5b9b 100644 --- a/drivers/net/ethernet/adi/bfin_mac.h +++ b/drivers/net/ethernet/adi/bfin_mac.h @@ -68,13 +68,6 @@ struct net_dma_desc_tx { }; struct bfin_mac_local { - /* - * these are things that the kernel wants me to keep, so users - * can find out semi-useless statistics of how well the card is - * performing - */ - struct net_device_stats stats; - spinlock_t lock; int wol; /* Wake On Lan */ |