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 21:26:08 +0200 |
commit | 38cf595b195552276e1cf1826434e05782de4be8 (patch) | |
tree | 6011a9ea838e76b61e5e59676026a27855b8b836 /include/net/addrconf.h | |
parent | genetlink: simplify genl_notify (diff) | |
download | linux-38cf595b195552276e1cf1826434e05782de4be8.tar.xz linux-38cf595b195552276e1cf1826434e05782de4be8.zip |
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/addrconf.h')
-rw-r--r-- | include/net/addrconf.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/addrconf.h b/include/net/addrconf.h index b5474b1fcd83..78003dfb8539 100644 --- a/include/net/addrconf.h +++ b/include/net/addrconf.h @@ -192,8 +192,7 @@ struct ipv6_stub { int (*ipv6_dst_lookup)(struct net *net, struct sock *sk, struct dst_entry **dst, struct flowi6 *fl6); void (*udpv6_encap_enable)(void); - 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); struct neigh_table *nd_tbl; |