From nobody Fri Apr 08 00:03:18 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 286861A87216; Fri, 8 Apr 2022 00:03:20 +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 4KZJP31Jtfz4kcV; Fri, 8 Apr 2022 00:03:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649376199; 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=45+q0xOn70ktaSM2GM7dMa/mTicME5sOl+8sDoOn3tY=; b=Mr7MkkiDZF53/6/7uZtfwkcza/i6kcWOjdm6mYUkSlJzZxQR9PMXxTrGmZX+ZiPafJc2Pp VeHRQczzkNLP9Ye63ONtF+PWYLExGlmTlnm1BG215te9V3b+WHR/otnXptTNJwLL+/DwP0 38SqUyOwOUl2eoG1bs9TeQWSs7tQ69pHIiV1czfu+1ahFXAiCF1/+8jUXnAdqyeElc9k9Y 5RmGJE30aKdNhPVlbN+IDFjtBYIYwZz+MncqHTue0a9sAMvdxgOlkTDHtQHMFAPJ7x0PFP JSPvZUWOPhRnJ+UDuphUezaRfFlqTldTFABzaWXMnk++hbeCvuyPX6MgyhM3pA== 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 020C519B66; Fri, 8 Apr 2022 00:03:18 +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 23803IlJ086194; Fri, 8 Apr 2022 00:03:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23803IUK086193; Fri, 8 Apr 2022 00:03:18 GMT (envelope-from git) Date: Fri, 8 Apr 2022 00:03:18 GMT Message-Id: <202204080003.23803IUK086193@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: 497c2cf4f84d - main - ng_ksocket: 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: 497c2cf4f84d29c5e102544ff31e991f551e5f8c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649376199; 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=45+q0xOn70ktaSM2GM7dMa/mTicME5sOl+8sDoOn3tY=; b=OTEk12OZXV99j2aGmzENp/5AkY6djA779zrgBAj68n8VaZw0Wq1uVySHJkOJU2AOa9Oyic kd1qFfsF/SYnui78ybn14AjU/pi7SGQ9ONwUfy8vhuH1z021G1nIxxRGgn15NLCNdTwM/6 3RDLAjnszoWXaO3AiYsscHgL0F5jrBckh8uY9izZeWEW8TW25fbOeQci68FLi5MAqWZt7f COGA/JZsWvbc40pxXOToAgB5PVKjpsIvSNR83ylQgtwx67kGLUtvHVBlT47094bngvNYca 0RLdRoZh3xx6nq5BTTTId0yHMGC45q0c+AeAu4N3mVWPCQJ2bnxphBejJjZ5YQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649376199; a=rsa-sha256; cv=none; b=ENmUJ/P3etEco4Zjzt39ATwj4Bju84Y9H7nOM1IEns8LzceiajvFl7FMmM0Z4fFek9S/PR z1sgNOEU3UTau6dsAvd1/Z7bTJElhY68AxQcqlQqlAQSTh7GvZWtBfAbqEGxCYCgslQ8ta VvFvS8VUigDbDNDoaP8lHK18p8Hjtiski9XyfgzoAMezRt6vxMSjSAhcQ1LaJ+qlz/EUwZ idjZ9cBQ1ZyZxwh/dOQhbPuyXe+88LfN5n/fzWNUThLoyzqzuVS2OfFiptXa8ANGExCTzF 3AtiSU+SCL4QgG0nMLWaGtSM7pXgvIhvc9lCbYRl3i5qjK3sf1yB4iQI/poG5w== 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=497c2cf4f84d29c5e102544ff31e991f551e5f8c commit 497c2cf4f84d29c5e102544ff31e991f551e5f8c Author: John Baldwin AuthorDate: 2022-04-08 00:01:27 +0000 Commit: John Baldwin CommitDate: 2022-04-08 00:01:27 +0000 ng_ksocket: Remove unused variable. --- sys/netgraph/ng_ksocket.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sys/netgraph/ng_ksocket.c b/sys/netgraph/ng_ksocket.c index ba9845410e42..7c8cbd38e98e 100644 --- a/sys/netgraph/ng_ksocket.c +++ b/sys/netgraph/ng_ksocket.c @@ -665,7 +665,6 @@ ng_ksocket_rcvmsg(node_p node, item_p item, hook_p lasthook) struct ng_mesg *resp = NULL; int error = 0; struct ng_mesg *msg; - ng_ID_t raddr; NGI_GET_MSG(item, msg); switch (msg->header.typecookie) { @@ -724,7 +723,7 @@ ng_ksocket_rcvmsg(node_p node, item_p item, hook_p lasthook) if (error != 0 && error != EWOULDBLOCK) ERROUT(error); priv->response_token = msg->header.token; - raddr = priv->response_addr = NGI_RETADDR(item); + priv->response_addr = NGI_RETADDR(item); break; } @@ -750,7 +749,7 @@ ng_ksocket_rcvmsg(node_p node, item_p item, hook_p lasthook) if ((so->so_state & SS_ISCONNECTING) != 0) { /* We will notify the sender when we connect */ priv->response_token = msg->header.token; - raddr = priv->response_addr = NGI_RETADDR(item); + priv->response_addr = NGI_RETADDR(item); priv->flags |= KSF_CONNECTING; ERROUT(EINPROGRESS); }