diff options
author | Hantzis Fotis <xantzis@ceid.upatras.gr> | 2009-03-02 22:42:02 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-02 22:42:02 -0800 |
commit | ee7537b63a28b42b22e48842dfeedc66d96b71f1 (patch) | |
tree | 70fe4bad071ee03afd4368a8487eb378abdfa3a5 /net/ipv4/tcp_minisocks.c | |
parent | c1accad323372ab788066974844fe4db3c43acb0 (diff) | |
download | linux-ee7537b63a28b42b22e48842dfeedc66d96b71f1.tar.gz linux-ee7537b63a28b42b22e48842dfeedc66d96b71f1.tar.bz2 linux-ee7537b63a28b42b22e48842dfeedc66d96b71f1.zip |
tcp: tcp_init_wl / tcp_update_wl argument cleanup
The above functions from include/net/tcp.h have been defined with an
argument that they never use. The argument is 'u32 ack' which is never
used inside the function body, and thus it can be removed. The rest of
the patch involves the necessary changes to the function callers of the
above two functions.
Signed-off-by: Hantzis Fotis <xantzis@ceid.upatras.gr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_minisocks.c')
-rw-r--r-- | net/ipv4/tcp_minisocks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_minisocks.c b/net/ipv4/tcp_minisocks.c index bb3d8b35f19a..4b0df3e6b609 100644 --- a/net/ipv4/tcp_minisocks.c +++ b/net/ipv4/tcp_minisocks.c @@ -399,7 +399,7 @@ struct sock *tcp_create_openreq_child(struct sock *sk, struct request_sock *req, tcp_prequeue_init(newtp); - tcp_init_wl(newtp, treq->snt_isn, treq->rcv_isn); + tcp_init_wl(newtp, treq->rcv_isn); newtp->srtt = 0; newtp->mdev = TCP_TIMEOUT_INIT; |