commit | b92274e78a587dde4e4cf87228c4dc4d1ad5039d | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Tue Jul 08 08:47:47 2014 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jul 09 11:57:16 2014 -0700 |
tree | e86c825cb3f7c6f23586013d6a1adc024b5524c7 | |
parent | 10ebe37884b84bb5f05be1adb7eed4520df22e39 [diff] |
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>