thread_reap_barrier(): remove unused variable

Noted by:	alc
Sponsored by:	Mellanox Technologies/NVidia Networking
MFC after:	1 week
This commit is contained in:
Konstantin Belousov 2021-05-31 23:02:00 +03:00
parent 2a0fa277f6
commit d3f7975fcb

View File

@ -719,11 +719,8 @@ thread_reap_callout_cb(void *arg __unused)
void
thread_reap_barrier(void)
{
struct thread *td;
struct task *t;
td = curthread;
/*
* First do context switches to each CPU to ensure that all
* PCPU pc_deadthreads are moved to zombie list.