[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
@@ -780,7 +780,7 @@ drop_no_count:
|
||||
*/
|
||||
static struct lock_class_key icmpv6_socket_sk_dst_lock_key;
|
||||
|
||||
int __init icmpv6_init(struct net_proto_family *ops)
|
||||
int __init icmpv6_init(void)
|
||||
{
|
||||
struct sock *sk;
|
||||
int err, i, j;
|
||||
|
Reference in New Issue
Block a user