Skip to content

Commit 8570bcd

Browse files
tklauserdavem330
authored andcommitted
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: [email protected] Signed-off-by: Tobias Klauser <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent eb996ed commit 8570bcd

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

drivers/net/ethernet/adi/bfin_mac.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,6 @@ struct net_dma_desc_tx {
6868
};
6969

7070
struct bfin_mac_local {
71-
/*
72-
* these are things that the kernel wants me to keep, so users
73-
* can find out semi-useless statistics of how well the card is
74-
* performing
75-
*/
76-
struct net_device_stats stats;
77-
7871
spinlock_t lock;
7972

8073
int wol; /* Wake On Lan */

0 commit comments

Comments
 (0)