mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-23 11:18:54 +00:00
Remove superfluous return statements from the neighbour discovery code.
MFC after: 1 week
This commit is contained in:
parent
839529caa9
commit
baebd3e54f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=295578
@ -2512,7 +2512,6 @@ clear_llinfo_pqueue(struct llentry *ln)
|
||||
}
|
||||
|
||||
ln->la_hold = NULL;
|
||||
return;
|
||||
}
|
||||
|
||||
static int nd6_sysctl_drlist(SYSCTL_HANDLER_ARGS);
|
||||
|
@ -584,7 +584,6 @@ nd6_ns_output_fib(struct ifnet *ifp, const struct in6_addr *saddr6,
|
||||
|
||||
bad:
|
||||
m_freem(m);
|
||||
return;
|
||||
}
|
||||
|
||||
#ifndef BURN_BRIDGES
|
||||
@ -1078,7 +1077,6 @@ nd6_na_output_fib(struct ifnet *ifp, const struct in6_addr *daddr6_0,
|
||||
|
||||
bad:
|
||||
m_freem(m);
|
||||
return;
|
||||
}
|
||||
|
||||
#ifndef BURN_BRIDGES
|
||||
|
@ -503,7 +503,6 @@ defrouter_addreq(struct nd_defrouter *new)
|
||||
}
|
||||
if (error == 0)
|
||||
new->installed = 1;
|
||||
return;
|
||||
}
|
||||
|
||||
struct nd_defrouter *
|
||||
@ -702,8 +701,6 @@ defrouter_select(void)
|
||||
defrouter_delreq(installed_dr);
|
||||
defrouter_addreq(selected_dr);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user