From nobody Mon Oct 30 20:00:42 2023 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 4SK3zb1tVtz4yLPq; Mon, 30 Oct 2023 20:00:43 +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 4SK3zb1CNcz4DZV; Mon, 30 Oct 2023 20:00:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698696043; 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=ks6nGcoy8wHm1x+SqB8Bhzglu1raEFAUSWA9TY4YCKI=; b=fKwjwBnJZpUhawTEn5QkM+zvGfi77B4G7RoheRPYk1Wa1MHDUfF7ngPBGYni/1nAZRQdV/ YtC0GIZ9LG2NrV8GossAGzTECYYFxWpUgm8G/msjZnZ6wzZ0785Vw8o8HcnkTDE5LpfPRT ITMCkRrWX4lut1TF3Q04uQtiepBLUTevmzZfRj2lybI7ypjkFOVv0HA77wlvjHcIWfzavk p7eidlVIMDwyySp1z1Ci7djKLFWhEo3POVAeOifvrEHYuPeq/bjnJg1YJM8RGLKRUfGSkQ +GSEs9OPd1AnHGXAykY3i4xrzyZB2rf7M+2NF/J3HyZPjaOsh0IKoceBnblQcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698696043; 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=ks6nGcoy8wHm1x+SqB8Bhzglu1raEFAUSWA9TY4YCKI=; b=mRvK9wF8lQ6GcgsCWPmCqUTTAOeo0b9q2rDLzbOUDsANFumNlVmT57g9fNRie+B3Oq2t05 2cIZ0ipf+nbzHvsPOKKuiv9/CY/bxCcLJMPU2nt4lXvebQMstrlX1sYP7OQfr5Fh1PFAsd WQ46ssU6wrLv0x6dp3ur77g4gGcFAIL0u1da3n06Bg/W/vrxiJjHtifA2Uviz5sJsbjMZj eJrQXgM01jIChBhTfHW68PpCML2bOXdYVsAkGcY/mfXS3HJSdj1wBm80nnTgKgNoTC4x4M /2qb8bGbFqtKMvUkGhjKsjdKmxnqr45QgOObOPsOZDUHKXT3ELpjFCsX7DusrQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698696043; a=rsa-sha256; cv=none; b=IXAYXS3Opww52cXNpOBtOT86a9PqBoVq4gaiejp0tr7TYziP9fziZjhzXm7Vg3KVPBt95I rQCKAqEPUuKQLKzG0viYneibTl3RhFAOnEmTFhKkniebxkFpQdIgKj/5DgimSJlEDjWR7I dSuMeWIdlgrCRqJE9ZI/K9n1bGpMcGClzloynJqhNceacdIpGzdX2gkrAW6xtL1GMLeAAN Wyf8nJDNlTcNebzg6U2OQOT0QAsL9qb8OQBD99sskJnu/l5xuXQAv8gn+h6ofcUghOTixK FafCbHtsUjTz47rkmr5hcjIJpwynaEdK2W/zKkvIALMNTWLGssLbCJowUvkP8w== 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 4SK3zb0JSPzZQY; Mon, 30 Oct 2023 20:00:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39UK0gM1038568; Mon, 30 Oct 2023 20:00:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39UK0gA0038565; Mon, 30 Oct 2023 20:00:42 GMT (envelope-from git) Date: Mon, 30 Oct 2023 20:00:42 GMT Message-Id: <202310302000.39UK0gA0038565@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kristof Provost Subject: git: 87c503235310 - main - libpfctl: remove unused field from struct pfctl_states 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: kp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 87c5032353106764f324e82541662f448e68f38a Auto-Submitted: auto-generated The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=87c5032353106764f324e82541662f448e68f38a commit 87c5032353106764f324e82541662f448e68f38a Author: Kristof Provost AuthorDate: 2023-10-30 18:04:12 +0000 Commit: Kristof Provost CommitDate: 2023-10-30 18:05:03 +0000 libpfctl: remove unused field from struct pfctl_states We never populate this, or use it, so remove it. MFC after: 3 days Sponsored by: Rubicon Communications, LLC ("Netgate") --- lib/libpfctl/libpfctl.h | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/libpfctl/libpfctl.h b/lib/libpfctl/libpfctl.h index 5e304ac56dd8..31b4b444ba64 100644 --- a/lib/libpfctl/libpfctl.h +++ b/lib/libpfctl/libpfctl.h @@ -369,7 +369,6 @@ struct pfctl_state { TAILQ_HEAD(pfctl_statelist, pfctl_state); struct pfctl_states { struct pfctl_statelist states; - size_t count; }; enum pfctl_syncookies_mode {