[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
@@ -2443,7 +2443,7 @@ struct proto tcp_prot = {
|
||||
REF_PROTO_INUSE(tcp)
|
||||
};
|
||||
|
||||
void __init tcp_v4_init(struct net_proto_family *ops)
|
||||
void __init tcp_v4_init(void)
|
||||
{
|
||||
if (inet_csk_ctl_sock_create(&tcp_socket, PF_INET, SOCK_RAW,
|
||||
IPPROTO_TCP) < 0)
|
||||
|
Reference in New Issue
Block a user