Commit 8570bcd8 authored by Tobias Klauser's avatar Tobias Klauser Committed by David S. Miller

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: default avatarTobias Klauser <tklauser@distanz.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent eb996edb
...@@ -68,13 +68,6 @@ struct net_dma_desc_tx { ...@@ -68,13 +68,6 @@ struct net_dma_desc_tx {
}; };
struct bfin_mac_local { 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; spinlock_t lock;
int wol; /* Wake On Lan */ int wol; /* Wake On Lan */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment