Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Apr 2026 12:47:15 +0000
From:      Kristof Provost <kp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 4001613878fe - main - pfsync: rename unused variable
Message-ID:  <69ecb7d3.262c8.6f3d0953@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=4001613878fe3cb059833c8a4b6199975f8d82f3

commit 4001613878fe3cb059833c8a4b6199975f8d82f3
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2026-04-25 11:27:03 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2026-04-25 11:27:03 +0000

    pfsync: rename unused variable
    
    Make it more obvious that this field is not used.
    No functional change.
    
    Event:  Wiesbaden Hackathon 202604
---
 sys/net/pfvar.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h
index 70a391b3f07c..4c57a605438f 100644
--- a/sys/net/pfvar.h
+++ b/sys/net/pfvar.h
@@ -1499,7 +1499,7 @@ struct pfsync_state_1301 {
 	u_int8_t	 state_flags;
 	u_int8_t	 timeout;
 	u_int8_t	 sync_flags;
-	u_int8_t	 updates;	/* unused */
+	u_int8_t	 __spare2;
 } __packed;
 
 struct pfsync_state_1400 {


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69ecb7d3.262c8.6f3d0953>