svn commit: r183954 - head/sys/netinet
Marko Zec
zec at FreeBSD.org
Thu Oct 16 12:31:04 UTC 2008
Author: zec
Date: Thu Oct 16 12:31:03 2008
New Revision: 183954
URL: http://svn.freebsd.org/changeset/base/183954
Log:
Remove a useless global static variable.
Approved by: bz (ad-hoc mentor)
Modified:
head/sys/netinet/if_ether.c
Modified: head/sys/netinet/if_ether.c
==============================================================================
--- head/sys/netinet/if_ether.c Thu Oct 16 11:02:05 2008 (r183953)
+++ head/sys/netinet/if_ether.c Thu Oct 16 12:31:03 2008 (r183954)
@@ -98,7 +98,6 @@ struct llinfo_arp {
};
static struct ifqueue arpintrq;
-static int arp_allocated;
static int arp_maxtries = 5;
static int useloopback = 1; /* use loopback interface for local traffic */
@@ -221,7 +220,6 @@ arp_rtrequest(int req, struct rtentry *r
log(LOG_DEBUG, "%s: malloc failed\n", __func__);
break;
}
- arp_allocated++;
/*
* We are storing a route entry outside of radix tree. So,
* it can be found and accessed by other means than radix
More information about the svn-src-all
mailing list