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>
This commit is contained in:
Tobias Klauser 2017-03-27 08:55:11 +02:00 committed by David S. Miller
parent eb996edb03
commit 8570bcd83d
1 changed files with 0 additions and 7 deletions

View File

@ -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 */