summaryrefslogtreecommitdiffstats
path: root/include/net/ndisc.h
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-02-29 11:13:15 -0800
committerDavid S. Miller <davem@davemloft.net>2008-02-29 11:13:15 -0800
commit9b0f976f27f00a81cf47643d90854659626795b4 (patch)
tree3226ff8a03faf6c8137eeb1313248dfd2a395f21 /include/net/ndisc.h
parent4c563f7669c10a12354b72b518c2287ffc6ebfb3 (diff)
downloadlinux-9b0f976f27f00a81cf47643d90854659626795b4.tar.gz
linux-9b0f976f27f00a81cf47643d90854659626795b4.tar.bz2
linux-9b0f976f27f00a81cf47643d90854659626795b4.zip
[INET]: Remove struct net_proto_family* from _init calls.
struct net_proto_family* is not used in icmp[v6]_init, ndisc_init, igmp_init and tcp_v4_init. Remove it. Signed-off-by: Denis V. Lunev <den@openvz.org> Acked-by: Daniel Lezcano <dlezcano@fr.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ndisc.h')
-rw-r--r--include/net/ndisc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/ndisc.h b/include/net/ndisc.h
index 59b70624b056..5aedf324de66 100644
--- a/include/net/ndisc.h
+++ b/include/net/ndisc.h
@@ -77,7 +77,7 @@ struct nd_opt_hdr {
} __attribute__((__packed__));
-extern int ndisc_init(struct net_proto_family *ops);
+extern int ndisc_init(void);
extern void ndisc_cleanup(void);
@@ -107,7 +107,7 @@ extern int ndisc_mc_map(struct in6_addr *addr, char *buf, struct net_device *d
/*
* IGMP
*/
-extern int igmp6_init(struct net_proto_family *ops);
+extern int igmp6_init(void);
extern void igmp6_cleanup(void);