summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatvejchikov Ilya <matvejchikov@gmail.com>2017-07-24 16:02:12 +0400
committerDavid S. Miller <davem@davemloft.net>2017-07-24 17:28:12 -0700
commite42e24c3cc072088756d84ef07b492ac2a3ae2e5 (patch)
tree4866ef0eed04cee3ae4522ffd5a4f61a3b3fef3a /include
parentf575a02ee76cda1eff5e6949aff7cf5c386e3977 (diff)
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>
Diffstat (limited to 'include')
-rw-r--r--include/net/tcp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 4f056ea79df2..12d68335acd4 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -362,7 +362,7 @@ void tcp_delack_timer_handler(struct sock *sk);
int tcp_ioctl(struct sock *sk, int cmd, unsigned long arg);
int tcp_rcv_state_process(struct sock *sk, struct sk_buff *skb);
void tcp_rcv_established(struct sock *sk, struct sk_buff *skb,
- const struct tcphdr *th, unsigned int len);
+ const struct tcphdr *th);
void tcp_rcv_space_adjust(struct sock *sk);
int tcp_twsk_unique(struct sock *sk, struct sock *sktw, void *twp);
void tcp_twsk_destructor(struct sock *sk);