diff options
author | Denis V. Lunev <den@openvz.org> | 2008-02-29 20:13:15 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-29 20:13:15 +0100 |
commit | 9b0f976f27f00a81cf47643d90854659626795b4 (patch) | |
tree | 3226ff8a03faf6c8137eeb1313248dfd2a395f21 /include/net/ndisc.h | |
parent | [XFRM]: Speed up xfrm_policy and xfrm_state walking (diff) | |
download | linux-9b0f976f27f00a81cf47643d90854659626795b4.tar.xz 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.h | 4 |
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); |