cred: annotate credbatch_process argument as unused

Fixes libprocstat compilation as zfs defines _KERNEL.
This commit is contained in:
Mateusz Guzik 2020-11-14 19:56:11 +00:00
parent 5596f836e7
commit 6b45dbe56c

View File

@ -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)
{
}