diff options
author | Jiri Benc <jbenc@redhat.com> | 2015-09-22 18:57:13 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-24 12:26:08 -0700 |
commit | 38cf595b195552276e1cf1826434e05782de4be8 (patch) | |
tree | 6011a9ea838e76b61e5e59676026a27855b8b836 /include/net/ndisc.h | |
parent | 92c14d9b5ee86fd6cf136c01b6a87353522aebdd (diff) | |
download | linux-38cf595b195552276e1cf1826434e05782de4be8.tar.bz2 |
ipv6: remove unused neigh parameter from ndisc functions
Since commit 12fd84f4383b1 ("ipv6: Remove unused neigh argument for
icmp6_dst_alloc() and its callers."), the neigh parameter of ndisc_send_na
and ndisc_send_ns is unused.
CC: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ndisc.h')
-rw-r--r-- | include/net/ndisc.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/net/ndisc.h b/include/net/ndisc.h index aba5695fadb0..bf3937431030 100644 --- a/include/net/ndisc.h +++ b/include/net/ndisc.h @@ -180,15 +180,13 @@ void ndisc_cleanup(void); int ndisc_rcv(struct sk_buff *skb); -void ndisc_send_ns(struct net_device *dev, struct neighbour *neigh, - const struct in6_addr *solicit, +void ndisc_send_ns(struct net_device *dev, const struct in6_addr *solicit, const struct in6_addr *daddr, const struct in6_addr *saddr, struct sk_buff *oskb); void ndisc_send_rs(struct net_device *dev, const struct in6_addr *saddr, const struct in6_addr *daddr); -void ndisc_send_na(struct net_device *dev, struct neighbour *neigh, - const struct in6_addr *daddr, +void ndisc_send_na(struct net_device *dev, const struct in6_addr *daddr, const struct in6_addr *solicited_addr, bool router, bool solicited, bool override, bool inc_opt); |