net: bfin_mac: Remove unused stats member from struct bfin_mac_local
authorTobias Klauser <tklauser@distanz.ch>
Mon, 27 Mar 2017 06:55:11 +0000 (08:55 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Mar 2017 23:01:59 +0000 (16:01 -0700)
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>
drivers/net/ethernet/adi/bfin_mac.h

index 8c3b56198e4b731125648284086850eab1fdf0f2..4ad5b9be3f84c52b9e04f6919431c198a6d5a011 100644 (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 */