tcp: remove redundant argument from tcp_rcv_established()
The last (4th) argument of tcp_rcv_established() is redundant as it always equals to skb->len and the skb itself is always passed as 2th agrument. There is no reason to have it. Signed-off-by: Ilya V. Matveychikov <matvejchikov@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
f575a02ee7
commit
e42e24c3cc
@@ -5358,8 +5358,9 @@ discard:
|
||||
* tcp_data_queue when everything is OK.
|
||||
*/
|
||||
void tcp_rcv_established(struct sock *sk, struct sk_buff *skb,
|
||||
const struct tcphdr *th, unsigned int len)
|
||||
const struct tcphdr *th)
|
||||
{
|
||||
unsigned int len = skb->len;
|
||||
struct tcp_sock *tp = tcp_sk(sk);
|
||||
|
||||
tcp_mstamp_refresh(tp);
|
||||
|
Reference in New Issue
Block a user