diff --git a/freebsd/kern/kern_event.c b/freebsd/kern/kern_event.c index aaf49d81b..05ab99785 100644 --- a/freebsd/kern/kern_event.c +++ b/freebsd/kern/kern_event.c @@ -1672,6 +1672,7 @@ kqueue_release(struct kqueue *kq, int locked) KQ_UNLOCK(kq); } +#ifndef FSTACK static void kqueue_schedtask(struct kqueue *kq) { @@ -1685,6 +1686,7 @@ kqueue_schedtask(struct kqueue *kq) kq->kq_state |= KQ_TASKSCHED; } } +#endif /* * Expand the kq to make sure we have storage for fops/ident pair.