[NET]: Remove obsolete fastroute stats.
authorStephen Hemminger <shemminger@osdl.org>
Fri, 24 Jun 2005 03:08:59 +0000 (20:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Jun 2005 03:08:59 +0000 (20:08 -0700)
Remove last vestiages of fastroute code that is no longer used.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/dev.c
net/core/sysctl_net_core.c

index d89816ad642fa0890dec4a35cada88bbd96b69c2..c2e15e381a583f8a4230f7a945fbf684327a22ff 100644 (file)
@@ -165,11 +165,6 @@ struct netif_rx_stats
        unsigned dropped;
        unsigned time_squeeze;
        unsigned throttled;
-       unsigned fastroute_hit;
-       unsigned fastroute_success;
-       unsigned fastroute_defer;
-       unsigned fastroute_deferred_out;
-       unsigned fastroute_latency_reduction;
        unsigned cpu_collision;
 };
 
index ab935778ce81009cadea261d289f7bd44e623850..4f1ae2efe8724d7114af60ae4ca5d1d12eda5bf2 100644 (file)
@@ -2056,14 +2056,8 @@ static int softnet_seq_show(struct seq_file *seq, void *v)
 
        seq_printf(seq, "%08x %08x %08x %08x %08x %08x %08x %08x %08x\n",
                   s->total, s->dropped, s->time_squeeze, s->throttled,
-                  s->fastroute_hit, s->fastroute_success, s->fastroute_defer,
-                  s->fastroute_deferred_out,
-#if 0
-                  s->fastroute_latency_reduction
-#else
-                  s->cpu_collision
-#endif
-                 );
+                  0, 0, 0, 0, /* was fastroute */
+                  s->cpu_collision );
        return 0;
 }
 
index 880a88815211e88f8310034879492d3beb16d0a4..76e9987474cabe62c524da060c20659bed8116a0 100644 (file)
@@ -18,7 +18,6 @@ extern int no_cong_thresh;
 extern int no_cong;
 extern int lo_cong;
 extern int mod_cong;
-extern int netdev_fastroute;
 extern int net_msg_cost;
 extern int net_msg_burst;