Date: Wed, 8 Feb 2012 19:31:33 +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-8@freebsd.org Subject: svn commit: r231225 - stable/8/sys/net Message-ID: <201202081931.q18JVXwo058366@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bz Date: Wed Feb 8 19:31:32 2012 New Revision: 231225 URL: http://svn.freebsd.org/changeset/base/231225 Log: MFC r223359: Garbage collect never used global, sysctl, externs. Modified: stable/8/sys/net/route.c stable/8/sys/net/route.h Directory Properties: stable/8/sys/ (props changed) Modified: stable/8/sys/net/route.c ============================================================================== --- stable/8/sys/net/route.c Wed Feb 8 19:20:11 2012 (r231224) +++ stable/8/sys/net/route.c Wed Feb 8 19:31:32 2012 (r231225) @@ -116,12 +116,6 @@ VNET_DEFINE(int, rttrash); /* routes no static VNET_DEFINE(uma_zone_t, rtzone); /* Routing table UMA zone. */ #define V_rtzone VNET(rtzone) -#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/8/sys/net/route.h ============================================================================== --- stable/8/sys/net/route.h Wed Feb 8 19:20:11 2012 (r231224) +++ stable/8/sys/net/route.h Wed Feb 8 19:31:32 2012 (r231225) @@ -108,8 +108,6 @@ struct rt_metrics { #endif 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?201202081931.q18JVXwo058366>