git: bab34d6349f3 - main - in_pcboutput_txrtlmt: Remove unused variable.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 12 Apr 2022 21:59:40 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=bab34d6349f35d465305c9b23643404d69ee018b commit bab34d6349f35d465305c9b23643404d69ee018b Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-12 21:58:59 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-04-12 21:58:59 +0000 in_pcboutput_txrtlmt: Remove unused variable. --- sys/netinet/in_pcb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index f1a8da3c3f7e..2b7c05391d6d 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -3339,7 +3339,6 @@ in_pcboutput_txrtlmt(struct inpcb *inp, struct ifnet *ifp, struct mbuf *mb) struct socket *socket; uint32_t max_pacing_rate; bool did_upgrade; - int error; if (inp == NULL) return; @@ -3370,7 +3369,7 @@ in_pcboutput_txrtlmt(struct inpcb *inp, struct ifnet *ifp, struct mbuf *mb) */ max_pacing_rate = socket->so_max_pacing_rate; - error = in_pcboutput_txrtlmt_locked(inp, ifp, mb, max_pacing_rate); + in_pcboutput_txrtlmt_locked(inp, ifp, mb, max_pacing_rate); if (did_upgrade) INP_DOWNGRADE(inp);