git: 061727efe1e3 - main - TCP BBR: remove dead code

From: Michael Tuexen <tuexen_at_FreeBSD.org>
Date: Mon, 06 Jan 2025 20:27:52 UTC
The branch main has been updated by tuexen:

URL: https://cgit.FreeBSD.org/src/commit/?id=061727efe1e355fb2fde1b05e92718543d05bfe7

commit 061727efe1e355fb2fde1b05e92718543d05bfe7
Author:     Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2025-01-06 20:25:58 +0000
Commit:     Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2025-01-06 20:25:58 +0000

    TCP BBR: remove dead code
    
    No functional change intended.
    
    Reviewed by:            rrs
    CID:                    1523808
    MFC after:              1 week
    Sponsored by:           Netflix, Inc.
    Differential Revision:  https://reviews.freebsd.org/D48338
---
 sys/netinet/tcp_stacks/bbr.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/sys/netinet/tcp_stacks/bbr.c b/sys/netinet/tcp_stacks/bbr.c
index 97ff46f0b96b..4600088bd1a1 100644
--- a/sys/netinet/tcp_stacks/bbr.c
+++ b/sys/netinet/tcp_stacks/bbr.c
@@ -978,14 +978,6 @@ bbr_timer_audit(struct tcpcb *tp, struct tcp_bbr *bbr, uint32_t cts, struct sock
 				 * and we do
 				 */
 				return;
-		} else if (sbavail(&inp->inp_socket->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 ||
 			    inp->inp_socket->so_options & SO_KEEPALIVE) &&
 			    (tp->t_state <= TCPS_CLOSING)) &&