summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorHantzis Fotis2009-03-03 07:42:02 +0100
committerDavid S. Miller2009-03-03 07:42:02 +0100
commitee7537b63a28b42b22e48842dfeedc66d96b71f1 (patch)
tree70fe4bad071ee03afd4368a8487eb378abdfa3a5 /net/ipv4/tcp_output.c
parentbnx2x: Version update (diff)
downloadkernel-qcow2-linux-ee7537b63a28b42b22e48842dfeedc66d96b71f1.tar.gz
kernel-qcow2-linux-ee7537b63a28b42b22e48842dfeedc66d96b71f1.tar.xz
kernel-qcow2-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_output.c')
-rw-r--r--net/ipv4/tcp_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
index 920c57b90ded..eb285befdf3b 100644
--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -2337,7 +2337,7 @@ static void tcp_connect_init(struct sock *sk)
sk->sk_err = 0;
sock_reset_flag(sk, SOCK_DONE);
tp->snd_wnd = 0;
- tcp_init_wl(tp, tp->write_seq, 0);
+ tcp_init_wl(tp, 0);
tp->snd_una = tp->write_seq;
tp->snd_sml = tp->write_seq;
tp->snd_up = tp->write_seq;