diff options
author | Michael Tuexen <tuexen@FreeBSD.org> | 2024-12-30 14:57:11 +0000 |
---|---|---|
committer | Michael Tuexen <tuexen@FreeBSD.org> | 2024-12-30 14:57:11 +0000 |
commit | 895347fc10c5b06bddadcc2937fdcf298c7e1114 (patch) | |
tree | 8ad3c58f23cb3a76c87968580a19fe44e4bf3623 | |
parent | a314c60625af1829b7e12c3a4cedb74d7f69d074 (diff) |
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
-rw-r--r-- | sys/netinet/tcp_stacks/bbr.c | 4 |
1 files changed, 1 insertions, 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; |