From nobody Tue Apr 12 21:59:37 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 3F9D61AFC8B4; Tue, 12 Apr 2022 21:59:39 +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 4KdKQ23HMmz4htY; Tue, 12 Apr 2022 21:59:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649800778; 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=DvzAhm4JSs89YF7x2upKlmSgs6aiGZRPH1pYPwqwtzs=; b=Q+Pf1gb/Abn3EQ8+brVG6/yEX+woWMnGHDqmIdgO8vG9I3jx4g2Jk1eaKN6xfSkl7GVJ94 kO0lk4uliTQjOmXCM+DQIw3XsaMVwSTzI56pBKonuJKiKdMfRq4RH0G/tbBKYVnbHwb5V+ slbeSrKJiOjWFKBOQO6ZZ4IWrZKIZ3V7IUd3i6FoYh29uc8n92BIlktRKOO1kMZC8X/rEE hqP28vvoyJsn/HXzsHv8h1wcLSuD4qSIF7HmfNXqD+xVEZsYh6mooPQApUsQaU6huQvpap ZbvHrVnrZ1iyZLKT37hJcTkaPoF6T1BI0EWApFwAP0ynRCA8zJv66hznynhX5Q== 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 EB9EB1F5D0; Tue, 12 Apr 2022 21:59:37 +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 23CLxb7j035777; Tue, 12 Apr 2022 21:59:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23CLxbND035776; Tue, 12 Apr 2022 21:59:37 GMT (envelope-from git) Date: Tue, 12 Apr 2022 21:59:37 GMT Message-Id: <202204122159.23CLxbND035776@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: fa351643f586 - main - netgraph: 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: fa351643f5860f251141bcf0d86fb55a33dc5f96 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649800778; 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=DvzAhm4JSs89YF7x2upKlmSgs6aiGZRPH1pYPwqwtzs=; b=g7H5vVTZSIbPCmLqtukvl0EHA3yLQ1BDcYo4ee9teBSk/AzlAg1yX09hpONaY6H8ERheSL QKYw2gRoxpyNyFtmek/LO4DAAgYQdTCSUcya0dJaTgqvjntvL/IDy/aX2x7LdVlQz2cI5i +roEGK8sMAKTQTE3YcaXkW4E9OsWvWmYbk0yy7OVZmSwikqiB/jbJiIDy6QSuh1HV2OH+A OUNpWigEALe885ruBcN34hX6BC1iUHghWhzGpspN6tlvQGNRDpM9FJfp0CytZpV0zSyL3X ce6Y2gyZeTVlUbi1joAc+L9ZalMiyBLUJx4DZWinEbM6MEHWdLgUTBVLh/e8YQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649800778; a=rsa-sha256; cv=none; b=RceEOvcXXpAuXFCRKTkl78SfhpJlbH1X+J6/NHv9ZYF4WRS0ayKx8XT4X2aTYJAYJCDlgO AELJuRcISbO5ySZyklthav1AUT7034/SdW24xjNh8aFKP55XqCMB87Hajj6/wHqIXGZvfi htD94N7RgojvLmUabVN2+pAwcIwlMNiNMx8GO1a/A88EQFfZQJWwUvzGg/ookoJNMMZd8e gP68jM7m6npPB+J0kXEeDaxZ/o2LWHwWzjnzCoGLTjHL38cTYl4X929T+kj1PrHXJ22jWN zwclZLD58uixqHobEvQmiXlFkFTjdafqmKqHdiNgJPzOqhs6StqjCIMi6bzLtA== 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=fa351643f5860f251141bcf0d86fb55a33dc5f96 commit fa351643f5860f251141bcf0d86fb55a33dc5f96 Author: John Baldwin AuthorDate: 2022-04-12 21:58:59 +0000 Commit: John Baldwin CommitDate: 2022-04-12 21:58:59 +0000 netgraph: Remove unused variable. --- sys/netgraph/ng_base.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/netgraph/ng_base.c b/sys/netgraph/ng_base.c index f43199f3820f..f9e679de33bb 100644 --- a/sys/netgraph/ng_base.c +++ b/sys/netgraph/ng_base.c @@ -3374,10 +3374,8 @@ sysctl_debug_ng_dump_items(SYSCTL_HANDLER_ARGS) { int error; int val; - int i; val = allocated; - i = 1; error = sysctl_handle_int(oidp, &val, 0, req); if (error != 0 || req->newptr == NULL) return (error);