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

From: Rami Rosen
Date: Tue Apr 01 2008 - 07:34:20 EST


Hi,
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.

Regards,
Rami Rosen


Signed-off-by: Rami Rosen <ramirose@xxxxxxxxx>
diff --git a/include/net/ndisc.h b/include/net/ndisc.h
index 5aedf32..0c32d43 100644
--- a/include/net/ndisc.h
+++ b/include/net/ndisc.h
@@ -93,9 +93,6 @@ extern void ndisc_send_rs(struct net_device *dev,
struct in6_addr *saddr,
struct in6_addr *daddr);

-extern void ndisc_forwarding_on(void);
-extern void ndisc_forwarding_off(void);
-
extern void ndisc_send_redirect(struct sk_buff *skb,
struct neighbour *neigh,
struct in6_addr *target);
@@ -115,7 +112,6 @@ extern int igmp6_event_query(struct sk_buff *skb);

extern int igmp6_event_report(struct sk_buff *skb);

-extern void igmp6_cleanup(void);

#ifdef CONFIG_SYSCTL
extern int ndisc_ifinfo_sysctl_change(struct ctl_table *ctl,