]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
net: macb: Use net_device_stats from struct net_device
authorTobias Klauser <tklauser@distanz.ch>
Thu, 8 Mar 2018 12:45:53 +0000 (18:15 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 9 Mar 2018 08:09:57 +0000 (09:09 +0100)
commitfc337bde9d95acf7be78eb3bc994d8a0984d5917
tree7f4f59034b836d5ad2f14c2858e8ac4db0cac236
parent14f1d44ce1be70ca4e2250d34bcd2963482934b0
net: macb: Use net_device_stats from struct net_device

Instead of using a private copy of struct net_device_stats in struct
macb, use stats from struct net_device.

Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/net/ethernet/cadence/macb.h
drivers/net/ethernet/cadence/macb_main.c