From nobody Tue Apr 12 21:59:40 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3420B1AFC972; Tue, 12 Apr 2022 21:59:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KdKQ46G57z4j54; Tue, 12 Apr 2022 21:59:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649800780; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0vXOjw2Q7psGODjVpJhzPMTC5CQ9B/jTD25kYLrzJYE=; b=xV3fUNT2fiOGu/DkO5pHdIjnzho65ucQ6A0zMEq60BIRsQiHLV1+BMjnnaqtV8xTcpmPFI 8sx02m9QkHHEFT7UUxKHcMXsJQP0O0r6a9iTUJcJCyyndvv3e7oSBTmQUlP/7Tr/IB0BUm wQQ5p1tRTyY6hJjyaF/n4Vl85Eh4U8mmh106RQZV+niFS0isCwS4u9dS8AdDD/0A6ADOIu aHoHsYA6LHcTcpHjxlIl3KZafZQmXFhSzrCEid70NJTJ8gM8UF1d1Zzt8GLOEmgIeCq9AQ 5oP+KSbKv6H/8m9BXcixBJ0eGkxk5K+6X8DsFZJ1SYRHTbX2bPr5U02glNI49w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3F32B1F887; Tue, 12 Apr 2022 21:59:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23CLxex7035831; Tue, 12 Apr 2022 21:59:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23CLxebG035830; Tue, 12 Apr 2022 21:59:40 GMT (envelope-from git) Date: Tue, 12 Apr 2022 21:59:40 GMT Message-Id: <202204122159.23CLxebG035830@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: bab34d6349f3 - main - in_pcboutput_txrtlmt: Remove unused variable. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bab34d6349f35d465305c9b23643404d69ee018b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649800780; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0vXOjw2Q7psGODjVpJhzPMTC5CQ9B/jTD25kYLrzJYE=; b=fMlLkEegqCjCAwix47rF3xM2GCLYhyTqwojeEM6Gq31R224ajvKEnMg+rE8KcEq6yjAj6D uxRDEkhoQdi9O0cBwQ9p20fd+5flc7hWIz7y+QYirYI+7qjJhhfgIVofGmMtQM5qsVQrd2 Y8GUY4SGp+BZQr0yB+4cfKwqBaOgwb8hwd37COUa0rM90PuV5RMG1ssDetmTs1ZoN90hm7 qKRnkjiXN53YakapYfg4+kP0owaub8SQEBed6ErME3a3JutKu7OcWSQQPmq7ouJDdii/9y KInOv0RLs7nzCzUoJVCAANwFZ1vXl0zdsqknQsueoeBdZiVmA9YEaSw6nFSyLg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649800780; a=rsa-sha256; cv=none; b=W49pZS2hL5btUJ3kFGLGVhfAZ5SbgAX9RJpafRhcxRHGNDlBNk0bb6iWAziU0xoiQF6ukA GfRYQqG6gZDl4IawtJj9zC51UrqL2FeyRTlLjdSCFdSrS14l4cGy0C0Dp8o5DPgi6X9tfj ZgwPkpmmm7FGc7bkEWYSFcvzZurqozJLQaztXS+YUrwYa96Drmg3gu5/S4Im3AMhnqg1vu d1+0LW0tqbDuQWuW73tUbC6ARwUGUb1zcejycBznddB44k7UL+914vacR+ehV49kd+xzc2 xbRIB9l2QA1HT2nn9OnzAmJ+aUNkyPHZf2EdE57wRKkD8mTJ1iQWTZVRPUiJpg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=bab34d6349f35d465305c9b23643404d69ee018b commit bab34d6349f35d465305c9b23643404d69ee018b Author: John Baldwin AuthorDate: 2022-04-12 21:58:59 +0000 Commit: John Baldwin 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);