diff options
author | Denis V. Lunev <den@openvz.org> | 2008-02-29 14:13:15 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-29 14:13:15 -0500 |
commit | 9b0f976f27f00a81cf47643d90854659626795b4 (patch) | |
tree | 3226ff8a03faf6c8137eeb1313248dfd2a395f21 /net/ipv6/af_inet6.c | |
parent | 4c563f7669c10a12354b72b518c2287ffc6ebfb3 (diff) |
[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 'net/ipv6/af_inet6.c')
-rw-r--r-- | net/ipv6/af_inet6.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c index f0aa97738746..9869f87243cf 100644 --- a/net/ipv6/af_inet6.c +++ b/net/ipv6/af_inet6.c | |||
@@ -808,13 +808,13 @@ static int __init inet6_init(void) | |||
808 | if (err) | 808 | if (err) |
809 | goto sysctl_fail; | 809 | goto sysctl_fail; |
810 | #endif | 810 | #endif |
811 | err = icmpv6_init(&inet6_family_ops); | 811 | err = icmpv6_init(); |
812 | if (err) | 812 | if (err) |
813 | goto icmp_fail; | 813 | goto icmp_fail; |
814 | err = ndisc_init(&inet6_family_ops); | 814 | err = ndisc_init(); |
815 | if (err) | 815 | if (err) |
816 | goto ndisc_fail; | 816 | goto ndisc_fail; |
817 | err = igmp6_init(&inet6_family_ops); | 817 | err = igmp6_init(); |
818 | if (err) | 818 | if (err) |
819 | goto igmp_fail; | 819 | goto igmp_fail; |
820 | err = ipv6_netfilter_init(); | 820 | err = ipv6_netfilter_init(); |