]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc761166e1a006f5bdbff1bad1838a04a24e32599
treec19ddb23c0f7ea7857438958eb9994383287fbc8
parentd1f4c8ecb54d47b9ba64e9a237e0c1a0ea6b0852
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