1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

Remove a now unused variable.

MFC after:	1 Week
This commit is contained in:
Dmitry Chagin 2011-03-19 16:52:06 +00:00
parent d2b74735b8
commit 6a873ef717
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=219776

View File

@ -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)