summaryrefslogtreecommitdiffstats
path: root/drivers/net/atlx/atlx.c
diff options
context:
space:
mode:
authorStephen Hemminger2008-11-01 00:52:03 +0100
committerJeff Garzik2008-11-02 13:59:55 +0100
commit02e7173149c3ffcf963075ec2bdc5f7be8335a78 (patch)
treed4206ce6e7f222891f7ccb547eadd01515217950 /drivers/net/atlx/atlx.c
parent[TCP] CUBIC v2.3 (diff)
downloadkernel-qcow2-linux-02e7173149c3ffcf963075ec2bdc5f7be8335a78.tar.gz
kernel-qcow2-linux-02e7173149c3ffcf963075ec2bdc5f7be8335a78.tar.xz
kernel-qcow2-linux-02e7173149c3ffcf963075ec2bdc5f7be8335a78.zip
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.c13
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)
}
/*
- * atlx_get_stats - Get System Network Statistics
- * @netdev: network interface device structure
- *
- * Returns the address of the device statistics structure.
- * The statistics are actually updated from the timer callback.
- */
-static struct net_device_stats *atlx_get_stats(struct net_device *netdev)
-{
- struct atlx_adapter *adapter = netdev_priv(netdev);
- return &adapter->net_stats;
-}
-
-/*
* atlx_tx_timeout - Respond to a Tx Hang
* @netdev: network interface device structure
*/