The branch main has been updated by jhb:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=86fa80f320dcd5773c55ba0d74173a3d06f2d755

commit 86fa80f320dcd5773c55ba0d74173a3d06f2d755
Author:     John Baldwin <[email protected]>
AuthorDate: 2022-04-12 21:59:00 +0000
Commit:     John Baldwin <[email protected]>
CommitDate: 2022-04-12 21:59:00 +0000

    rack: Remove unused variable.
---
 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 102963de0433..2de40c902162 100644
--- a/sys/netinet/tcp_stacks/rack.c
+++ b/sys/netinet/tcp_stacks/rack.c
@@ -16510,9 +16510,6 @@ rack_output(struct tcpcb *tp)
        long tot_len_this_send = 0;
 #ifdef INET
        struct ip *ip = NULL;
-#endif
-#ifdef TCPDEBUG
-       struct ipovly *ipov = NULL;
 #endif
        struct udphdr *udp = NULL;
        struct tcp_rack *rack;
@@ -18259,9 +18256,6 @@ send:
 #endif                         /* INET6 */
                {
                        ip = mtod(m, struct ip *);
-#ifdef TCPDEBUG
-                       ipov = (struct ipovly *)ip;
-#endif
                        if (tp->t_port) {
                                udp = (struct udphdr *)((caddr_t)ip + 
sizeof(struct ip));
                                udp->uh_sport = htons(V_tcp_udp_tunneling_port);

Reply via email to