--- /home/rookie/tmp-hacks/kern_kse.c Mon Jul 23 23:06:03 2007 +++ kern_kse2.c Mon Jul 23 23:06:32 2007 @@ -67,7 +67,6 @@ static void thread_alloc_spare(struct thread *td); static struct thread *thread_schedule_upcall(struct thread *td, struct kse_upcall *ku); static struct kse_upcall *upcall_alloc(void); -static void upcall_free(struct kse_upcall *ku); struct mtx kse_lock; @@ -80,13 +79,6 @@ ku = uma_zalloc(upcall_zone, M_WAITOK | M_ZERO); return (ku); -} - -void -upcall_free(struct kse_upcall *ku) -{ - - uma_zfree(upcall_zone, ku); } void