staging: gdm72xx: Use net_device_stats from struct net_device
authorTobias Klauser <tklauser@distanz.ch>
Tue, 8 Jul 2014 06:47:47 +0000 (08:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2014 18:57:16 +0000 (11:57 -0700)
commitb92274e78a587dde4e4cf87228c4dc4d1ad5039d
treee86c825cb3f7c6f23586013d6a1adc024b5524c7
parent10ebe37884b84bb5f05be1adb7eed4520df22e39
staging: gdm72xx: Use net_device_stats from struct net_device

Instead of using an own copy of struct net_device_stats in struct nic,
use stats from struct net_device. Also remove the thus unnecessary
.ndo_get_stats function, as it would now just return netdev->stats,
which is the default in dev_get_stats().

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gdm72xx/gdm_wimax.c
drivers/staging/gdm72xx/gdm_wimax.h