Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 088dd3a4 authored by James Morris's avatar James Morris Committed by David S. Miller
Browse files

[TCP]: Trivial tcp_data_queue() cleanup



This patch removes a superfluous intialization from tcp_data_queue().

Signed-off-by: default avatarJames Morris <jmorris@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 04237ddd
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -3517,7 +3517,6 @@ static void tcp_data_queue(struct sock *sk, struct sk_buff *skb)
	if (TCP_SKB_CB(skb)->seq == TCP_SKB_CB(skb)->end_seq)
	if (TCP_SKB_CB(skb)->seq == TCP_SKB_CB(skb)->end_seq)
		goto drop;
		goto drop;


	th = skb->h.th;
	__skb_pull(skb, th->doff*4);
	__skb_pull(skb, th->doff*4);


	TCP_ECN_accept_cwr(tp, skb);
	TCP_ECN_accept_cwr(tp, skb);