svn commit: r222887 - stable/8/sys/net

Dmitry Chagin dchagin at FreeBSD.org
Thu Jun 9 05:21:08 UTC 2011


Author: dchagin
Date: Thu Jun  9 05:21:08 2011
New Revision: 222887
URL: http://svn.freebsd.org/changeset/base/222887

Log:
  MFC r219776:
  
  Remove a now unused variable.

Modified:
  stable/8/sys/net/route.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)

Modified: stable/8/sys/net/route.c
==============================================================================
--- stable/8/sys/net/route.c	Thu Jun  9 01:10:39 2011	(r222886)
+++ stable/8/sys/net/route.c	Thu Jun  9 05:21:08 2011	(r222887)
@@ -338,7 +338,6 @@ rtalloc1_fib(struct sockaddr *dst, int r
 		    u_int fibnum)
 {
 	struct radix_node_head *rnh;
-	struct rtentry *rt;
 	struct radix_node *rn;
 	struct rtentry *newrt;
 	struct rt_addrinfo info;
@@ -366,7 +365,7 @@ rtalloc1_fib(struct sockaddr *dst, int r
 #endif
 	rn = rnh->rnh_matchaddr(dst, rnh);
 	if (rn && ((rn->rn_flags & RNF_ROOT) == 0)) {
-		newrt = rt = RNTORT(rn);
+		newrt = RNTORT(rn);
 		RT_LOCK(newrt);
 		RT_ADDREF(newrt);
 		if (needlock)


More information about the svn-src-stable-8 mailing list