]> git.baikalelectronics.ru Git - kernel.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)
commite050e9b3cc7f7393c68c32c0c4a9eef49ab27113
treecc5b54700a116077f2018d0a4378e79dc1383ea3
parente3bf3b56ef9b64e27311635793ac6e70ec32cc60
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