summaryrefslogtreecommitdiffstats
path: root/include/net/icmp.h
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-02-29 20:13:15 +0100
committerDavid S. Miller <davem@davemloft.net>2008-02-29 20:13:15 +0100
commit9b0f976f27f00a81cf47643d90854659626795b4 (patch)
tree3226ff8a03faf6c8137eeb1313248dfd2a395f21 /include/net/icmp.h
parent[XFRM]: Speed up xfrm_policy and xfrm_state walking (diff)
downloadlinux-9b0f976f27f00a81cf47643d90854659626795b4.tar.xz
linux-9b0f976f27f00a81cf47643d90854659626795b4.zip
[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>
Diffstat (limited to 'include/net/icmp.h')
-rw-r--r--include/net/icmp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/icmp.h b/include/net/icmp.h
index 9f7ef3c8baef..7bf714d9d7c7 100644
--- a/include/net/icmp.h
+++ b/include/net/icmp.h
@@ -48,7 +48,7 @@ struct sk_buff;
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 ? */