===== net/core/neighbour.c 1.55 vs edited ===== --- 1.55/net/core/neighbour.c 2004-11-04 10:41:49 +11:00 +++ edited/net/core/neighbour.c 2004-11-04 14:47:14 +11:00 @@ -59,7 +59,6 @@ static int pneigh_ifdown(struct neigh_table *tbl, struct net_device *dev); void neigh_changeaddr(struct neigh_table *tbl, struct net_device *dev); -static int neigh_glbl_allocs; static struct neigh_table *neigh_tables; static struct file_operations neigh_stat_seq_fops; @@ -282,7 +281,6 @@ n->timer.data = (unsigned long)n; NEIGH_CACHE_STAT_INC(tbl, allocs); - neigh_glbl_allocs++; n->tbl = tbl; atomic_set(&n->refcnt, 1); n->dead = 1; @@ -612,7 +610,6 @@ NEIGH_PRINTK2("neigh %p is destroyed.\n", neigh); - neigh_glbl_allocs--; atomic_dec(&neigh->tbl->entries); kmem_cache_free(neigh->tbl->kmem_cachep, neigh); }