diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2008-10-31 19:52:03 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-11-02 07:59:55 -0500 |
commit | 02e7173149c3ffcf963075ec2bdc5f7be8335a78 (patch) | |
tree | d4206ce6e7f222891f7ccb547eadd01515217950 /drivers/net/atlx/atlx.c | |
parent | ae27e98a51526595837ab7498b23d6478a198960 (diff) |
atlx: use embedded net_device_stats
There is now a net_device_stats structure inside net_device that should
be used if possible by devices. Compile tested only.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/atlx/atlx.c')
-rw-r--r-- | drivers/net/atlx/atlx.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/net/atlx/atlx.c b/drivers/net/atlx/atlx.c index 3cc9d1089ca1..3dc014215679 100644 --- a/drivers/net/atlx/atlx.c +++ b/drivers/net/atlx/atlx.c | |||
@@ -182,19 +182,6 @@ static void atlx_clear_phy_int(struct atlx_adapter *adapter) | |||
182 | } | 182 | } |
183 | 183 | ||
184 | /* | 184 | /* |
185 | * atlx_get_stats - Get System Network Statistics | ||
186 | * @netdev: network interface device structure | ||
187 | * | ||
188 | * Returns the address of the device statistics structure. | ||
189 | * The statistics are actually updated from the timer callback. | ||
190 | */ | ||
191 | static struct net_device_stats *atlx_get_stats(struct net_device *netdev) | ||
192 | { | ||
193 | struct atlx_adapter *adapter = netdev_priv(netdev); | ||
194 | return &adapter->net_stats; | ||
195 | } | ||
196 | |||
197 | /* | ||
198 | * atlx_tx_timeout - Respond to a Tx Hang | 185 | * atlx_tx_timeout - Respond to a Tx Hang |
199 | * @netdev: network interface device structure | 186 | * @netdev: network interface device structure |
200 | */ | 187 | */ |