From owner-svn-src-all@FreeBSD.ORG Thu Oct 16 12:31:03 2008 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E34C0106568B; Thu, 16 Oct 2008 12:31:03 +0000 (UTC) (envelope-from zec@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D2B9E8FC1F; Thu, 16 Oct 2008 12:31:03 +0000 (UTC) (envelope-from zec@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id m9GCV3Jw061686; Thu, 16 Oct 2008 12:31:03 GMT (envelope-from zec@svn.freebsd.org) Received: (from zec@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id m9GCV30h061685; Thu, 16 Oct 2008 12:31:03 GMT (envelope-from zec@svn.freebsd.org) Message-Id: <200810161231.m9GCV30h061685@svn.freebsd.org> From: Marko Zec Date: Thu, 16 Oct 2008 12:31:03 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r183954 - head/sys/netinet X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 12:31:04 -0000 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