diff options
| author | Denis V. Lunev <[email protected]> | 2008-02-29 19:13:15 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2008-02-29 19:13:15 +0000 |
| commit | 9b0f976f27f00a81cf47643d90854659626795b4 (patch) | |
| tree | 3226ff8a03faf6c8137eeb1313248dfd2a395f21 /net/ipv4/tcp_ipv4.c | |
| parent | [XFRM]: Speed up xfrm_policy and xfrm_state walking (diff) | |
| download | kernel-9b0f976f27f00a81cf47643d90854659626795b4.tar.gz kernel-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 <[email protected]>
Acked-by: Daniel Lezcano <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
| -rw-r--r-- | net/ipv4/tcp_ipv4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 00156bf421ca..256032a41069 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c @@ -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) |
