[NET]: Remove obsolete fastroute stats.

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>
This commit is contained in:
Stephen Hemminger 2005-06-23 20:08:59 -07:00 committed by David S. Miller
parent 16822e6205
commit c1ebcdb8c4
3 changed files with 2 additions and 14 deletions

View file

@ -165,11 +165,6 @@ struct netif_rx_stats
unsigned dropped; unsigned dropped;
unsigned time_squeeze; unsigned time_squeeze;
unsigned throttled; unsigned throttled;
unsigned fastroute_hit;
unsigned fastroute_success;
unsigned fastroute_defer;
unsigned fastroute_deferred_out;
unsigned fastroute_latency_reduction;
unsigned cpu_collision; unsigned cpu_collision;
}; };

View 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", seq_printf(seq, "%08x %08x %08x %08x %08x %08x %08x %08x %08x\n",
s->total, s->dropped, s->time_squeeze, s->throttled, s->total, s->dropped, s->time_squeeze, s->throttled,
s->fastroute_hit, s->fastroute_success, s->fastroute_defer, 0, 0, 0, 0, /* was fastroute */
s->fastroute_deferred_out, s->cpu_collision );
#if 0
s->fastroute_latency_reduction
#else
s->cpu_collision
#endif
);
return 0; return 0;
} }

View file

@ -18,7 +18,6 @@ extern int no_cong_thresh;
extern int no_cong; extern int no_cong;
extern int lo_cong; extern int lo_cong;
extern int mod_cong; extern int mod_cong;
extern int netdev_fastroute;
extern int net_msg_cost; extern int net_msg_cost;
extern int net_msg_burst; extern int net_msg_burst;