From 6b45dbe56c38165cd1af35a4e9b82208c5e7d534 Mon Sep 17 00:00:00 2001 From: Mateusz Guzik Date: Sat, 14 Nov 2020 19:56:11 +0000 Subject: [PATCH] cred: annotate credbatch_process argument as unused Fixes libprocstat compilation as zfs defines _KERNEL. --- sys/sys/ucred.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/ucred.h b/sys/sys/ucred.h index 5381901b505..153f7b42402 100644 --- a/sys/sys/ucred.h +++ b/sys/sys/ucred.h @@ -129,7 +129,7 @@ credbatch_prep(struct credbatch *crb) } void credbatch_add(struct credbatch *crb, struct thread *td); static inline void -credbatch_process(struct credbatch *crb) +credbatch_process(struct credbatch *crb __unused) { }