diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2014-07-08 06:47:47 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-09 18:57:16 (GMT) |
commit | b92274e78a587dde4e4cf87228c4dc4d1ad5039d (patch) | |
tree | e86c825cb3f7c6f23586013d6a1adc024b5524c7 /drivers/staging/gdm72xx/gdm_wimax.h | |
parent | 10ebe37884b84bb5f05be1adb7eed4520df22e39 (diff) | |
download | linux-b92274e78a587dde4e4cf87228c4dc4d1ad5039d.tar.xz |
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>
Diffstat (limited to 'drivers/staging/gdm72xx/gdm_wimax.h')
-rw-r--r-- | drivers/staging/gdm72xx/gdm_wimax.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/gdm72xx/gdm_wimax.h b/drivers/staging/gdm72xx/gdm_wimax.h index ae852dd..3330cd79 100644 --- a/drivers/staging/gdm72xx/gdm_wimax.h +++ b/drivers/staging/gdm72xx/gdm_wimax.h @@ -36,7 +36,6 @@ struct phy_dev { struct nic { struct net_device *netdev; struct phy_dev *phy_dev; - struct net_device_stats stats; struct data_s sdk_data[SIOC_DATA_MAX]; #if defined(CONFIG_WIMAX_GDM72XX_QOS) struct qos_cb_s qos; |