git: 895347fc10c5 - main - TCP BBR: remove assignments without effect
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 30 Dec 2024 14:59:33 UTC
The branch main has been updated by tuexen:
URL: https://cgit.FreeBSD.org/src/commit/?id=895347fc10c5b06bddadcc2937fdcf298c7e1114
commit 895347fc10c5b06bddadcc2937fdcf298c7e1114
Author: Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2024-12-30 14:57:11 +0000
Commit: Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2024-12-30 14:57:11 +0000
TCP BBR: remove assignments without effect
No functional change intended.
Reviewed by: rrs
CID: 1523772
CID: 1523777
MFC after: 1 week
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D48215
---
sys/netinet/tcp_stacks/bbr.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sys/netinet/tcp_stacks/bbr.c b/sys/netinet/tcp_stacks/bbr.c
index 01a864f59bbe..24c3685f139a 100644
--- a/sys/netinet/tcp_stacks/bbr.c
+++ b/sys/netinet/tcp_stacks/bbr.c
@@ -7324,11 +7324,9 @@ bbr_log_ack(struct tcpcb *tp, struct tcpopt *to, struct tcphdr *th,
p_maxseg = min(bbr->r_ctl.rc_pace_max_segs, maxseg);
th_ack = th->th_ack;
if (SEQ_GT(th_ack, tp->snd_una)) {
- acked = th_ack - tp->snd_una;
bbr_log_progress_event(bbr, tp, ticks, PROGRESS_UPDATE, __LINE__);
bbr->rc_tp->t_acktime = ticks;
- } else
- acked = 0;
+ }
if (SEQ_LEQ(th_ack, tp->snd_una)) {
/* Only sent here for sack processing */
goto proc_sack;