OSDN Git Service

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)
commit8570bcd83d9a13f5319a174137ff3cb69735c135
treec19ddb23c0f7ea7857438958eb9994383287fbc8
parenteb996edb03a665d038de7bc318182412e44c52f9
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>
drivers/net/ethernet/adi/bfin_mac.h