diff options
author | Denis V. Lunev <den@openvz.org> | 2008-02-29 11:13:15 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-29 11:13:15 -0800 |
commit | 9b0f976f27f00a81cf47643d90854659626795b4 (patch) | |
tree | 3226ff8a03faf6c8137eeb1313248dfd2a395f21 /net/ipv6/ndisc.c | |
parent | 4c563f7669c10a12354b72b518c2287ffc6ebfb3 (diff) | |
download | op-kernel-dev-9b0f976f27f00a81cf47643d90854659626795b4.zip op-kernel-dev-9b0f976f27f00a81cf47643d90854659626795b4.tar.gz |
[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/ndisc.c')
-rw-r--r-- | net/ipv6/ndisc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c index 0d33a7d..1fc33c8 100644 --- a/net/ipv6/ndisc.c +++ b/net/ipv6/ndisc.c @@ -1733,7 +1733,7 @@ static int ndisc_ifinfo_sysctl_strategy(ctl_table *ctl, int __user *name, #endif -int __init ndisc_init(struct net_proto_family *ops) +int __init ndisc_init(void) { struct ipv6_pinfo *np; struct sock *sk; |