diff options
author | Eric Dumazet <edumazet@google.com> | 2015-09-29 10:42:40 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-29 19:53:07 -0400 |
commit | bda07a64c09c44ced789dbb815c71854f0c59839 (patch) | |
tree | be0f13ab88d28561878221cd2d54b952dcd2697f /net/ipv4/tcp_input.c | |
parent | a00e74442bac5ad19a929d097370da7e07540ea6 (diff) |
tcp: remove unused len argument from tcp_rcv_state_process()
Once we realize tcp_rcv_synsent_state_process() does not use
its 'len' argument and we get rid of it, then it becomes clear
this argument is no longer used in tcp_rcv_state_process()
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_input.c')
-rw-r--r-- | net/ipv4/tcp_input.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index 4964d53907e9..dcbddf12f4b3 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c | |||
@@ -5472,7 +5472,7 @@ static bool tcp_rcv_fastopen_synack(struct sock *sk, struct sk_buff *synack, | |||
5472 | } | 5472 | } |
5473 | 5473 | ||
5474 | static int tcp_rcv_synsent_state_process(struct sock *sk, struct sk_buff *skb, | 5474 | static int tcp_rcv_synsent_state_process(struct sock *sk, struct sk_buff *skb, |
5475 | const struct tcphdr *th, unsigned int len) | 5475 | const struct tcphdr *th) |
5476 | { | 5476 | { |
5477 | struct inet_connection_sock *icsk = inet_csk(sk); | 5477 | struct inet_connection_sock *icsk = inet_csk(sk); |
5478 | struct tcp_sock *tp = tcp_sk(sk); | 5478 | struct tcp_sock *tp = tcp_sk(sk); |
@@ -5699,7 +5699,7 @@ reset_and_undo: | |||
5699 | */ | 5699 | */ |
5700 | 5700 | ||
5701 | int tcp_rcv_state_process(struct sock *sk, struct sk_buff *skb, | 5701 | int tcp_rcv_state_process(struct sock *sk, struct sk_buff *skb, |
5702 | const struct tcphdr *th, unsigned int len) | 5702 | const struct tcphdr *th) |
5703 | { | 5703 | { |
5704 | struct tcp_sock *tp = tcp_sk(sk); | 5704 | struct tcp_sock *tp = tcp_sk(sk); |
5705 | struct inet_connection_sock *icsk = inet_csk(sk); | 5705 | struct inet_connection_sock *icsk = inet_csk(sk); |
@@ -5749,7 +5749,7 @@ int tcp_rcv_state_process(struct sock *sk, struct sk_buff *skb, | |||
5749 | goto discard; | 5749 | goto discard; |
5750 | 5750 | ||
5751 | case TCP_SYN_SENT: | 5751 | case TCP_SYN_SENT: |
5752 | queued = tcp_rcv_synsent_state_process(sk, skb, th, len); | 5752 | queued = tcp_rcv_synsent_state_process(sk, skb, th); |
5753 | if (queued >= 0) | 5753 | if (queued >= 0) |
5754 | return queued; | 5754 | return queued; |
5755 | 5755 | ||