[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
@@ -1139,7 +1139,7 @@ static const struct icmp_control icmp_pointers[NR_ICMP_TYPES + 1] = {
|
||||
},
|
||||
};
|
||||
|
||||
void __init icmp_init(struct net_proto_family *ops)
|
||||
void __init icmp_init(void)
|
||||
{
|
||||
struct inet_sock *inet;
|
||||
int i;
|
||||
|
Reference in New Issue
Block a user