From 6a873ef7175909be1d022931ed42229d24116782 Mon Sep 17 00:00:00 2001 From: Dmitry Chagin Date: Sat, 19 Mar 2011 16:52:06 +0000 Subject: [PATCH] Remove a now unused variable. MFC after: 1 Week --- sys/net/route.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/net/route.c b/sys/net/route.c index f38d6a60c35b..2c83fef660fb 100644 --- a/sys/net/route.c +++ b/sys/net/route.c @@ -338,7 +338,6 @@ rtalloc1_fib(struct sockaddr *dst, int report, u_long ignflags, 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 report, u_long ignflags, #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)