From 46631fc6e6346332362b080db47e4b216257e851 Mon Sep 17 00:00:00 2001 From: uwu-gl Date: Wed, 22 Oct 2025 01:18:00 +0800 Subject: [PATCH] net: ipv4: Remove unused definition in tcp_time_to_recover() Change-Id: Ic0cc5912b3f7c73bf78e028c72375075e2c864c1 Signed-off-by: uwu-gl --- net/ipv4/tcp_input.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index 4601b46a2943..fc4f337ac5cb 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c @@ -2189,8 +2189,6 @@ static inline int tcp_dupack_heuristics(const struct tcp_sock *tp) static bool tcp_time_to_recover(struct sock *sk, int flag) { struct tcp_sock *tp = tcp_sk(sk); - __u32 packets_out; - int tcp_reordering = sock_net(sk)->ipv4.sysctl_tcp_reordering; /* Trick#1: The loss is proven. */ if (tp->lost_out)