Remove unused 'struct route *' argument from nd6_output_flush().

This commit is contained in:
Alexander V. Chernikov 2014-11-09 16:20:27 +00:00
parent a458ad86ee
commit 9c9bde01d1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=274316
3 changed files with 5 additions and 5 deletions

View file

@ -1763,7 +1763,7 @@ nd6_cache_lladdr(struct ifnet *ifp, struct in6_addr *from, char *lladdr,
ln = NULL;
}
if (chain)
nd6_output_flush(ifp, ifp, chain, &sin6, NULL);
nd6_output_flush(ifp, ifp, chain, &sin6);
/*
* When the link-layer address of a router changes, select the
@ -2156,7 +2156,7 @@ nd6_output_lle(struct ifnet *ifp, struct ifnet *origifp, struct mbuf *m,
int
nd6_output_flush(struct ifnet *ifp, struct ifnet *origifp, struct mbuf *chain,
struct sockaddr_in6 *dst, struct route *ro)
struct sockaddr_in6 *dst)
{
struct mbuf *m, *m_head;
struct ifnet *outifp;
@ -2171,7 +2171,7 @@ nd6_output_flush(struct ifnet *ifp, struct ifnet *origifp, struct mbuf *chain,
while (m_head) {
m = m_head;
m_head = m_head->m_nextpkt;
error = (*ifp->if_output)(ifp, m, (struct sockaddr *)dst, ro);
error = (*ifp->if_output)(ifp, m, (struct sockaddr *)dst, NULL);
}
/*

View file

@ -413,7 +413,7 @@ int nd6_output_lle(struct ifnet *, struct ifnet *, struct mbuf *,
struct sockaddr_in6 *, struct rtentry *, struct llentry *,
struct mbuf **);
int nd6_output_flush(struct ifnet *, struct ifnet *, struct mbuf *,
struct sockaddr_in6 *, struct route *);
struct sockaddr_in6 *);
int nd6_need_cache(struct ifnet *);
int nd6_add_ifa_lle(struct in6_ifaddr *);
void nd6_rem_ifa_lle(struct in6_ifaddr *);

View file

@ -921,7 +921,7 @@ nd6_na_input(struct mbuf *m, int off, int icmp6len)
LLE_WUNLOCK(ln);
if (chain)
nd6_output_flush(ifp, ifp, chain, &sin6, NULL);
nd6_output_flush(ifp, ifp, chain, &sin6);
}
if (checklink)
pfxlist_onlink_check();