Re: [PATCH] net: fs_enet: Use net_device_stats from struct net_device

2016-10-19 Thread David Miller
From: Tobias Klauser Date: Wed, 19 Oct 2016 11:24:57 +0200 > 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

[PATCH] net: fs_enet: Use net_device_stats from struct net_device

2016-10-19 Thread Tobias Klauser
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 --- .../net/ethernet/freescale/fs_enet/fs_enet-main.c | 43