diff options
author | dchagin <dchagin@FreeBSD.org> | 2011-03-19 16:52:06 +0000 |
---|---|---|
committer | dchagin <dchagin@FreeBSD.org> | 2011-03-19 16:52:06 +0000 |
commit | 9dffdca01d441bda85751cdc8103689208630bae (patch) | |
tree | fc57bd456ebb8655b51ce22194aeb8f1ec0cf2c3 | |
parent | c41eae2d13dc4dcff4b2067fe307b4b6d965e468 (diff) | |
download | FreeBSD-src-9dffdca01d441bda85751cdc8103689208630bae.zip FreeBSD-src-9dffdca01d441bda85751cdc8103689208630bae.tar.gz |
Remove a now unused variable.
MFC after: 1 Week
-rw-r--r-- | sys/net/route.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/net/route.c b/sys/net/route.c index f38d6a6..2c83fef 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) |