Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Aug 2021 13:34:15 GMT
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 7fd856ba07b1 - main - vfs: s/__unused/__diagused in crossmp_*
Message-ID:  <202108231334.17NDYFKp005865@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mjg:

URL: https://cgit.FreeBSD.org/src/commit/?id=7fd856ba07b1cfc35eb9b0faad25c3ba4963bf83

commit 7fd856ba07b1cfc35eb9b0faad25c3ba4963bf83
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2021-08-23 10:10:38 +0000
Commit:     Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2021-08-23 13:23:42 +0000

    vfs: s/__unused/__diagused in crossmp_*
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 sys/kern/vfs_lookup.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys/kern/vfs_lookup.c b/sys/kern/vfs_lookup.c
index a83cc6bb8b74..28d7ada0f434 100644
--- a/sys/kern/vfs_lookup.c
+++ b/sys/kern/vfs_lookup.c
@@ -97,9 +97,9 @@ static int
 crossmp_vop_lock1(struct vop_lock1_args *ap)
 {
 	struct vnode *vp;
-	struct lock *lk __unused;
-	const char *file __unused;
-	int flags, line __unused;
+	struct lock *lk __diagused;
+	const char *file __diagused;
+	int flags, line __diagused;
 
 	vp = ap->a_vp;
 	lk = vp->v_vnlock;
@@ -123,7 +123,7 @@ static int
 crossmp_vop_unlock(struct vop_unlock_args *ap)
 {
 	struct vnode *vp;
-	struct lock *lk __unused;
+	struct lock *lk __diagused;
 
 	vp = ap->a_vp;
 	lk = vp->v_vnlock;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108231334.17NDYFKp005865>