]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/3c501.h
[NET] drivers/net: statistics cleanup #1 -- save memory and shrink code
[net-next-2.6.git] / drivers / net / 3c501.h
index c56a2c62f7deaf094cf1b7e65dcb6bb8ee719bf8..cfec64efff78017b5db4ee3dd6d24ac42a983e32 100644 (file)
@@ -11,7 +11,6 @@ static irqreturn_t el_interrupt(int irq, void *dev_id);
 static void el_receive(struct net_device *dev);
 static void el_reset(struct net_device *dev);
 static int  el1_close(struct net_device *dev);
-static struct net_device_stats *el1_get_stats(struct net_device *dev);
 static void set_multicast_list(struct net_device *dev);
 static const struct ethtool_ops netdev_ethtool_ops;
 
@@ -29,7 +28,6 @@ static int el_debug = EL_DEBUG;
 
 struct net_local
 {
-       struct net_device_stats stats;
        int             tx_pkt_start;   /* The length of the current Tx packet. */
        int             collisions;     /* Tx collisions this packet */
        int             loading;        /* Spot buffer load collisions */