]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
Remove unused 'struct route *' argument from nd6_output_flush().
authormelifaro <melifaro@FreeBSD.org>
Sun, 9 Nov 2014 16:20:27 +0000 (16:20 +0000)
committermelifaro <melifaro@FreeBSD.org>
Sun, 9 Nov 2014 16:20:27 +0000 (16:20 +0000)
sys/netinet6/nd6.c
sys/netinet6/nd6.h
sys/netinet6/nd6_nbr.c

index e82cc93738134a615d09f0eb1a23c711f366d770..059c84336d2093a03bd4c58f2dbafcee62fafae1 100644 (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);
        }
 
        /*
index a23a4f608c48f127af61a13fa5c33e6855aad745..ff475c82874a8c1a2bd9aa53d330be5a7dc7b4ee 100644 (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 *);
index 682e7156d951b56657240122d20a25f5337d5e0b..16406a25d365cf14f9d829ec9933169363822b42 100644 (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();