[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>
diff --git a/include/net/icmp.h b/include/net/icmp.h index 9f7ef3c..7bf714d 100644 --- a/include/net/icmp.h +++ b/include/net/icmp.h
@@ -48,7 +48,7 @@ extern void icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info); extern int icmp_rcv(struct sk_buff *skb); extern int icmp_ioctl(struct sock *sk, int cmd, unsigned long arg); -extern void icmp_init(struct net_proto_family *ops); +extern void icmp_init(void); extern void icmp_out_count(unsigned char type); /* Move into dst.h ? */
diff --git a/include/net/ndisc.h b/include/net/ndisc.h index 59b7062..5aedf32 100644 --- a/include/net/ndisc.h +++ b/include/net/ndisc.h
@@ -77,7 +77,7 @@ } __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 @@ /* * IGMP */ -extern int igmp6_init(struct net_proto_family *ops); +extern int igmp6_init(void); extern void igmp6_cleanup(void);
diff --git a/include/net/tcp.h b/include/net/tcp.h index 7de4ea3..ae9774b 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h
@@ -1373,7 +1373,7 @@ #endif }; -extern void tcp_v4_init(struct net_proto_family *ops); +extern void tcp_v4_init(void); extern void tcp_init(void); #endif /* _TCP_H */