Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Feb 2012 19:20:11 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r231224 - stable/7/sys/net
Message-ID:  <201202081920.q18JKBif057619@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Wed Feb  8 19:20:11 2012
New Revision: 231224
URL: http://svn.freebsd.org/changeset/base/231224

Log:
  MFC r223359:
  
   Garbage collect never used global, sysctl, externs.

Modified:
  stable/7/sys/net/route.c
  stable/7/sys/net/route.h
Directory Properties:
  stable/7/sys/   (props changed)

Modified: stable/7/sys/net/route.c
==============================================================================
--- stable/7/sys/net/route.c	Wed Feb  8 18:51:25 2012	(r231223)
+++ stable/7/sys/net/route.c	Wed Feb  8 19:20:11 2012	(r231224)
@@ -130,12 +130,6 @@ static void rt_maskedcopy(struct sockadd
 
 static uma_zone_t rtzone;		/* Routing table UMA zone. */
 
-#if 0
-/* default fib for tunnels to use */
-u_int tunnel_fib = 0;
-SYSCTL_INT(_net, OID_AUTO, tunnelfib, CTLFLAG_RD, &tunnel_fib, 0, "");
-#endif
-
 /*
  * handler for net.my_fibnum
  */

Modified: stable/7/sys/net/route.h
==============================================================================
--- stable/7/sys/net/route.h	Wed Feb  8 18:51:25 2012	(r231223)
+++ stable/7/sys/net/route.h	Wed Feb  8 19:20:11 2012	(r231224)
@@ -83,8 +83,6 @@ struct rt_metrics {
 #define	RTTTOPRHZ(r)	((r) / (RTM_RTTUNIT / PR_SLOWHZ))
 
 extern u_int rt_numfibs;	/* number fo usable routing tables */
-extern u_int tunnel_fib;	/* tunnels use these */
-extern u_int fwd_fib;		/* packets being forwarded use these routes */
 /*
  * XXX kernel function pointer `rt_output' is visible to applications.
  */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202081920.q18JKBif057619>