git: 41af5eeefc2c - main - TCP RACK: remove code that cannot be reached

From: Michael Tuexen <tuexen_at_FreeBSD.org>
Date: Sat, 04 Jan 2025 14:24:41 UTC
The branch main has been updated by tuexen:

URL: https://cgit.FreeBSD.org/src/commit/?id=41af5eeefc2c11d0e301f9f4476ba50214a8a584

commit 41af5eeefc2c11d0e301f9f4476ba50214a8a584
Author:     Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2025-01-04 14:22:40 +0000
Commit:     Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2025-01-04 14:22:40 +0000

    TCP RACK: remove code that cannot be reached
    
    No functional change intended.
    
    Reviewed by:            rrs
    CID:                    1523797
    MFC after:              1 week
    Sponsored by:           Netflix, Inc.
    Differential Revision:  https://reviews.freebsd.org/D48301
---
 sys/netinet/tcp_stacks/rack.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/sys/netinet/tcp_stacks/rack.c b/sys/netinet/tcp_stacks/rack.c
index d7e306186d37..6774acb9d5e6 100644
--- a/sys/netinet/tcp_stacks/rack.c
+++ b/sys/netinet/tcp_stacks/rack.c
@@ -15260,12 +15260,6 @@ rack_timer_audit(struct tcpcb *tp, struct tcp_rack *rack, struct sockbuf *sb)
 			if (tmr_up == PACE_TMR_DELACK)
 				/* We are supposed to have delayed ack up and we do */
 				return;
-		} else if (sbavail(&tptosocket(tp)->so_snd) && (tmr_up == PACE_TMR_RXT)) {
-			/*
-			 * if we hit enobufs then we would expect the possibility
-			 * of nothing outstanding and the RXT up (and the hptsi timer).
-			 */
-			return;
 		} else if (((V_tcp_always_keepalive ||
 			     rack->rc_inp->inp_socket->so_options & SO_KEEPALIVE) &&
 			    (tp->t_state <= TCPS_CLOSING)) &&