git: 86fa80f320dc - main - rack: Remove unused variable.
- Reply: John Baldwin : "Re: git: 86fa80f320dc - main - rack: Remove unused variable."
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 12 Apr 2022 21:59:45 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=86fa80f320dcd5773c55ba0d74173a3d06f2d755 commit 86fa80f320dcd5773c55ba0d74173a3d06f2d755 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-12 21:59:00 +0000 Commit: John Baldwin <jhb@FreeBSD.org> 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);