Skip to content

Commit

Permalink
Remove a now unused variable.
Browse files Browse the repository at this point in the history
MFC after:	1 Week
  • Loading branch information
lemul committed Mar 19, 2011
1 parent c41eae2 commit 9dffdca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sys/net/route.c
Expand Up @@ -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;
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 9dffdca

Please sign in to comment.