staging: octeon: Use net_device_stats from struct net_device
authorTobias Klauser <tklauser@distanz.ch>
Wed, 15 Feb 2017 12:51:10 +0000 (13:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Feb 2017 18:44:58 +0000 (10:44 -0800)
commit66812da3a689e3fea8a2e3899dd8b5f53aab2261
tree6719c65ca8d03c0f3578c44b46401b54fc0cdd33
parent548d35062bc0550166cb7d6e55d969b83cd503f7
staging: octeon: Use net_device_stats from struct net_device

Instead of using a private copy of struct net_device_stats in
struct octeon_ethernet, 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon/ethernet-rx.c
drivers/staging/octeon/ethernet-tx.c
drivers/staging/octeon/ethernet.c
drivers/staging/octeon/octeon-ethernet.h