Skip to content

Commit

Permalink
net: bfin_mac: Remove unused stats member from struct bfin_mac_local
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tobias Klauser authored and David S. Miller committed Mar 27, 2017
1 parent eb996ed commit 8570bcd
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions drivers/net/ethernet/adi/bfin_mac.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 8570bcd

Please sign in to comment.