From nobody Fri Apr 08 00:03:21 2022 X-Original-To: dev-commits-src-all@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 5EED71A870F2; Fri, 8 Apr 2022 00:03:22 +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 4KZJP54BbTz4krG; Fri, 8 Apr 2022 00:03:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649376201; 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=pCPbV/sPp1vZZmXa1/RLxpF2zNLkaQavg9I2t7m4P4Y=; b=v4LAQzgEJxeTcmP7wV4rJsNSYxKREtWwP2iZu70XDSrvm8uXbmSPbZ5SmU4jFkR2QeTh/p sgtf9fnIH/Ziyp+ivtWWC9GsZ0AQXJVB/Z2QOHZAi6okkIUK9iW+M9EelAc+U/HQ4JuUmC D65BGVHTrHScQr2b/dYudy0ujTA/fjxWMOu9NZYQncj9NRsExlUYEWaAqRZI33th5tMURd l/A3yYBo1Gglu4q8yPSQsI9mezl8YGlPN17ZGhvmnHeLrw0NC1m/xNWAhjmwY5XNQh916w nG7bXMjh/0ZUtOAhzSI/Wss8V/Sp77joloApZUi3TNKUiUlXi7JhVjWj/2eQMA== 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 45C8F1A2AE; Fri, 8 Apr 2022 00:03:21 +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 23803Lbo086242; Fri, 8 Apr 2022 00:03:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23803L6J086241; Fri, 8 Apr 2022 00:03:21 GMT (envelope-from git) Date: Fri, 8 Apr 2022 00:03:21 GMT Message-Id: <202204080003.23803L6J086241@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: ad490a5aeb8e - main - ng_netflow: Remove unused variable. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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: ad490a5aeb8ef34ee0eb64936dec47ad0bea005d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649376201; 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=pCPbV/sPp1vZZmXa1/RLxpF2zNLkaQavg9I2t7m4P4Y=; b=fdb+C2OaK8UJh1lE+4EudqiGVofVlSYoL3LIvDUHFD1gWjr/4bJteVaKIGv8DH0qRXguKg M76ItY5e+96R31QZI0iPHz9gJ7+cyWYLun8F/7VPl1bBnXWk6Q9vRZ0R9uMtXIrsdtT1Qg bBRvfrUtJrUmSnclk0rietvcFj9PBFTAPkmh+hFyk61CtclacjmIUsW5v34DDNmtBAge+2 5l+dyS9vs2lRPl4/e3OgzpMgXbh9Tz5iBf3g2yKNlEVpPzBGV8vLB7EPyrgHjIUSpDrKNf MTZLCV5P4r5TW4+7wlF82kpYcVjyAHAnQRbsvua46J6VPZKahOkwkUSo4RKtdQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649376201; a=rsa-sha256; cv=none; b=awrnJVaJmcw+YJOzg3DL8U8+rOV/i7NO/s5BXSAmrkBpLBjzFnvQ9rXU95HhtHj+CArJU4 5gDn7IUi1292LNV/uB6U8D4BEV9Fwq1Tt1OAZSn/40b7m4H+aJaBZqC076KCfi3OZBL6aI 6bgFkPhqgCNVmxFylruLq47yO1tR53PmeiD8U46vwFjcKTBrEp8Q4mB4kR4MbjAwxGwbu6 qoLa7/sYf7qPv5f1MAP9mo4/bkT4yXHkpPkhtUEwkyTxNbYHBCvg/ufY7KatlhYz1088Ne IunkXIWemdiSugBtqP8DwoDSfXZF4g6WcZMFwAwiYRht1GZieeP76E11e2l1XQ== 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=ad490a5aeb8ef34ee0eb64936dec47ad0bea005d commit ad490a5aeb8ef34ee0eb64936dec47ad0bea005d Author: John Baldwin AuthorDate: 2022-04-08 00:01:27 +0000 Commit: John Baldwin CommitDate: 2022-04-08 00:01:27 +0000 ng_netflow: Remove unused variable. --- sys/netgraph/netflow/netflow.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/netgraph/netflow/netflow.c b/sys/netgraph/netflow/netflow.c index 5c0358d9b67a..9c58674779ae 100644 --- a/sys/netgraph/netflow/netflow.c +++ b/sys/netgraph/netflow/netflow.c @@ -660,7 +660,6 @@ ng_netflow_flow_add(priv_p priv, fib_export_p fe, struct ip *ip, struct flow_rec r; int hlen, plen; int error = 0; - uint16_t eproto; uint8_t tcp_flags = 0; bzero(&r, sizeof(r)); @@ -672,7 +671,6 @@ ng_netflow_flow_add(priv_p priv, fib_export_p fe, struct ip *ip, if (hlen < sizeof(struct ip)) return (EINVAL); - eproto = ETHERTYPE_IP; /* Assume L4 template by default */ r.flow_type = NETFLOW_V9_FLOW_V4_L4;