[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>
This commit is contained in:
committed by
David S. Miller
parent
4c563f7669
commit
9b0f976f27
@ -2597,7 +2597,7 @@ static const struct file_operations igmp6_mcf_seq_fops = {
|
||||
};
|
||||
#endif
|
||||
|
||||
int __init igmp6_init(struct net_proto_family *ops)
|
||||
int __init igmp6_init(void)
|
||||
{
|
||||
struct ipv6_pinfo *np;
|
||||
struct sock *sk;
|
||||
|
Reference in New Issue
Block a user