]> git.karo-electronics.de Git - linux-beck.git/commit
net: fs_enet: Use net_device_stats from struct net_device
authorTobias Klauser <tklauser@distanz.ch>
Wed, 19 Oct 2016 09:24:57 +0000 (11:24 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Oct 2016 14:37:04 +0000 (10:37 -0400)
commit3134e9bdbe9c81a943b2c027a78433d4b0cf50dc
treecc5b54700a116077f2018d0a4378e79dc1383ea3
parent4251e7475d4b2ac0d9ad039439ad0650921b1d27
net: fs_enet: Use net_device_stats from struct net_device

Instead of using a private copy of struct net_device_stats in struct
fs_enet_private, use stats from struct net_device. Also remove the now
unnecessary .ndo_get_stats function.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c
drivers/net/ethernet/freescale/fs_enet/fs_enet.h