Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[IPV6] Remove three method declarations in include/net/ndisc.h.

This patch removes two unused method declarations in
include/net/ndisc.h: ndisc_forwarding_on(void) and
ndisc_forwarding_off(void);

Also igmp6_cleanup(void) appears twice in this header, so one
igmp6_cleanup(void) declaration is removed.

Signed-off-by: Rami Rosen <ramirose@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Rami Rosen and committed by
David S. Miller
3cccd607 eab2e0b2

-4
-4
include/net/ndisc.h
··· 102 102 struct in6_addr *saddr, 103 103 struct in6_addr *daddr); 104 104 105 - extern void ndisc_forwarding_on(void); 106 - extern void ndisc_forwarding_off(void); 107 - 108 105 extern void ndisc_send_redirect(struct sk_buff *skb, 109 106 struct neighbour *neigh, 110 107 struct in6_addr *target); ··· 121 124 122 125 extern int igmp6_event_report(struct sk_buff *skb); 123 126 124 - extern void igmp6_cleanup(void); 125 127 126 128 #ifdef CONFIG_SYSCTL 127 129 extern int ndisc_ifinfo_sysctl_change(struct ctl_table *ctl,